BashScript works from Terminal but not from CronTabSh script not running in crontab but running manually with...

Can there be an atomic nucleus where there are more protons than neutrons?

How can I learn to write better questions to test for conceptual understanding?

Why do these two ways of understanding constant acceleration give different results?

Is the tap water in France safe to drink?

In the twin paradox does the returning twin also come back permanently length contracted flatter than the twin on earth?

Does the US require a House vote to begin an impeachment inquiry?

Why is Trump releasing or not of his taxes such a big deal?

Why is technology bad for children?

how to say 'nerd' or 'geek' in french?

Should I avoid "big words" when writing to a younger audience?

I am often given, occasionally stolen, rarely sold, and never borrowed

Car as a good investment

Which culture used no personal names?

Does my protagonist need to be the most important character?

Where does the upgrade to macOS Catalina move root "/" directory files?

the vs. value: what is the difference

Does a restocking fee still qualify as a business expense?

Can we not simply connect a battery to a RAM to prevent data loss during power cuts?

Does immunity to fear prevent a mummy's Dreadful Glare from paralyzing a character?

Code Golf Measurer © 2019

Meaning of 'pound' in "felt a fury that was not his own pound through his body"

Why does Principal Vagina say, "no relation" after introducing himself?

Why do Computer Science degrees contain a high proportion of mathematics?

How do I reset the TSA-unlocked indicator on my lock?



BashScript works from Terminal but not from CronTab


Sh script not running in crontab but running manually with ./Unix Commands not working from Crontabcron will find certain commands on the PATH but not othersmail: cannot send message: process exited with a non-zero statusCron Bash Script - echo to current terminal instead of /var/spool/mail/rootCalling mailx from crondShell script not running with Cron, but runs manuallycrontab: “Temporary crontab no longer owned by you.”Monitor process and restart when not running using crontabAbsolute path in bash scriptsScript in cron cannot find commandEnvironment variables are not passed to sub scripts while running on crontab






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}








1

















I've got a bunch of CronJobs, and they work fine, except for one. I've looked through a lot of forums and websites, and tried a combination of things but alas nothing has worked.



Rephrasing the question is:



Q: The bashscript works without any problems from the terminal. But with the CronJob it does not work at all.



The last thing I have done for debugging is the following:



1) Checked if the Cron Daemon is running (ps ax | grep) =is working



2) Made an extra chron job to (retest) send out an email to me every minute (* * * * * echo "hello" | mail -s "subject" user@myemail.com) =worked fine



3) I've ran my bash script through the terminal as a standalone =worked fine



4) I've checked grep CRON /var/log/syslog for any errors =looks good/no errors



5) Checked for permissions etc. = no problems with permissions



6) The file path to the bash script for the cron job looks fine



#!/bin/bash

#When adding any additional machines make sure there are two files
#within the directory. MACHINE_NAMEMACHINE_NUMBER_initial_time.txt
#and MACHINE_NAMEMACHINE_NUMBER_old_ignition_value.txt

#./engine_switch_check.txt MACHINE_NAME MACHINE_NUMBER

echo `date +%T` >> test.txt

./engine_switch_check.txt MXE 065
./engine_switch_check.txt TMX5BP 001
./engine_switch_check.txt MX3 122
./engine_switch_check.txt TMX 098


and the engine_switch_check.txt :



#!/bin/bash

mc_id="$1" #-->eg: TMX
mc_no="$2" #-->eg: 098
echo "$mc_id $mc_no"

#echo "1--$mc_id$mc_no-DATAFILE.txt"
mc_fname=$mc_id$mc_no'_old_ignition_value.txt'
echo $mc_fname


#old_ignition_value=$(sed -n '1p' $mc_fname)
#echo "2--$old_ignition_value"
#old_ignition_value=$(sed -n '1p' $mc_id$mc_no'DATAFILE.txt')
#echo "3--$old_ignition_value"
new_ignition_value=`get values from the terminal`
old_ignition_value=$(sed -n '1p' $mc_id$mc_no'_old_ignition_value.txt')


echo "Program name: $0"
echo "New Ignition Value: $new_ignition_value"
echo "Old Ignition Value: $old_ignition_value"
echo;echo;echo

#difference_btwn_new_old_ign_values=$(awk '{print $1-$2}' <<< "$new_ignition_value $old_ignition_value")

difference_btwn_new_old_ign_values=$(($new_ignition_value - $old_ignition_value))
#difference_btwn_new_old_ign_values= expr new_ignition_value - old_ignition_value

echo "$new_ignition_value"
echo "$old_ignition_value"
echo "$difference_btwn_new_old_ign_values"

if [ "$difference_btwn_new_old_ign_values" -lt "1" ]
then
> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'
fi

if [ "$difference_btwn_new_old_ign_values" -ge "5" ]
then
final_time=`date +"%s"`
initial_time=$(sed -n '1p' $mc_id$mc_no'_initial_time.txt')
echo;echo;echo "initial time: $initial_time"
echo "final time: $final_time"
#initial_time=0000
time_difference_in_sec=$(( $final_time - $initial_time ))

echo "time difference in sec: $time_difference_in_sec"

time_difference_in_min=$(( $time_difference_in_sec / 60 ))


if [ "$time_difference_in_sec" -le "3600" ]
then
email_subject="$mc_id $mc_no switched on $difference_btwn_new_old_ign_values times within $time_difference_in_min minutes"

`echo -e "Hi there,nn$mc_id $mc_no has been switched on $difference_btwn_new_old_ign_values times within the last $time_difference_in_min minutesnnCheers," | mail -s "$email_subject" $email_list`

echo "EMAIL SENT"

: <<'psuedo'

> $mc_id$mc_no'_old_ignition_value.txt'
echo $new_ignition_value >> $mc_id$mc_no'_old_ignition_value.txt'

psuedo
fi

if [ "$time_difference_in_sec" -gt "3600" ]
then

> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'


fi
fi


I've cut out the details regarding the email, but that line works fine.



I honestly don't know what else I can do. The only difference with this bash file is that it calls another 'executable txt' file from within it. And both of these files work great from the terminal by themselves.



Update (18/02/2015):
I have further tried the CronTab by writing another (simpler) script to email out a timestamp, also recorded the timestamp into a .txt file - which worked without any problems. I rewrote it because I was thinking maybe the CronTab was not working like it should.



For anyone who is having a similiar problem these are some options you should consider:
Other things I did during troubleshooting (not in order)




  • Created an echo out to a text file to see if the program was being run

  • Avoided using sudo crontab -e everyone recommends staying away from sudo crontab -e

  • Checked the directory path within the crontab

  • Read/reread various forums, read/reread my program over and over again (get someone else who understands programming to do it, as fresh eyes can see what you might miss)

  • Added PATH and SHELL in to crontab

  • Added different CronJobs (mentioned update 18/02/15)

  • Changed relative path to full path within all the programs This made it work with the crontab










share|improve this question
























  • 3





    Now if only you provided the actual script :} for us to look at... it may require an actual TTY for in-/output, for example. Is it using fully qualified paths?

    – tink
    Feb 17 '15 at 2:19













  • @tink I've added the script.

    – 3kstc
    Feb 17 '15 at 4:35











  • Are you sure this script is working without any errors? I see issues with the if conditions.

    – Sree
    Feb 17 '15 at 5:14






  • 3





    The "bash script for the cron job" references the script ./engine_switch_check.txt, but what directory is .? You could try adding the debugging line to output pwd into a file and see whether the "bash script for the cron job" is executing where you think it is.

    – Sparhawk
    Feb 17 '15 at 6:05













  • Please show the crontab entry that should run this.

    – wurtel
    Feb 17 '15 at 7:51


















1

















I've got a bunch of CronJobs, and they work fine, except for one. I've looked through a lot of forums and websites, and tried a combination of things but alas nothing has worked.



Rephrasing the question is:



Q: The bashscript works without any problems from the terminal. But with the CronJob it does not work at all.



The last thing I have done for debugging is the following:



1) Checked if the Cron Daemon is running (ps ax | grep) =is working



2) Made an extra chron job to (retest) send out an email to me every minute (* * * * * echo "hello" | mail -s "subject" user@myemail.com) =worked fine



3) I've ran my bash script through the terminal as a standalone =worked fine



4) I've checked grep CRON /var/log/syslog for any errors =looks good/no errors



5) Checked for permissions etc. = no problems with permissions



6) The file path to the bash script for the cron job looks fine



#!/bin/bash

#When adding any additional machines make sure there are two files
#within the directory. MACHINE_NAMEMACHINE_NUMBER_initial_time.txt
#and MACHINE_NAMEMACHINE_NUMBER_old_ignition_value.txt

#./engine_switch_check.txt MACHINE_NAME MACHINE_NUMBER

echo `date +%T` >> test.txt

./engine_switch_check.txt MXE 065
./engine_switch_check.txt TMX5BP 001
./engine_switch_check.txt MX3 122
./engine_switch_check.txt TMX 098


and the engine_switch_check.txt :



#!/bin/bash

mc_id="$1" #-->eg: TMX
mc_no="$2" #-->eg: 098
echo "$mc_id $mc_no"

#echo "1--$mc_id$mc_no-DATAFILE.txt"
mc_fname=$mc_id$mc_no'_old_ignition_value.txt'
echo $mc_fname


#old_ignition_value=$(sed -n '1p' $mc_fname)
#echo "2--$old_ignition_value"
#old_ignition_value=$(sed -n '1p' $mc_id$mc_no'DATAFILE.txt')
#echo "3--$old_ignition_value"
new_ignition_value=`get values from the terminal`
old_ignition_value=$(sed -n '1p' $mc_id$mc_no'_old_ignition_value.txt')


echo "Program name: $0"
echo "New Ignition Value: $new_ignition_value"
echo "Old Ignition Value: $old_ignition_value"
echo;echo;echo

#difference_btwn_new_old_ign_values=$(awk '{print $1-$2}' <<< "$new_ignition_value $old_ignition_value")

difference_btwn_new_old_ign_values=$(($new_ignition_value - $old_ignition_value))
#difference_btwn_new_old_ign_values= expr new_ignition_value - old_ignition_value

echo "$new_ignition_value"
echo "$old_ignition_value"
echo "$difference_btwn_new_old_ign_values"

if [ "$difference_btwn_new_old_ign_values" -lt "1" ]
then
> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'
fi

if [ "$difference_btwn_new_old_ign_values" -ge "5" ]
then
final_time=`date +"%s"`
initial_time=$(sed -n '1p' $mc_id$mc_no'_initial_time.txt')
echo;echo;echo "initial time: $initial_time"
echo "final time: $final_time"
#initial_time=0000
time_difference_in_sec=$(( $final_time - $initial_time ))

echo "time difference in sec: $time_difference_in_sec"

time_difference_in_min=$(( $time_difference_in_sec / 60 ))


if [ "$time_difference_in_sec" -le "3600" ]
then
email_subject="$mc_id $mc_no switched on $difference_btwn_new_old_ign_values times within $time_difference_in_min minutes"

`echo -e "Hi there,nn$mc_id $mc_no has been switched on $difference_btwn_new_old_ign_values times within the last $time_difference_in_min minutesnnCheers," | mail -s "$email_subject" $email_list`

echo "EMAIL SENT"

: <<'psuedo'

> $mc_id$mc_no'_old_ignition_value.txt'
echo $new_ignition_value >> $mc_id$mc_no'_old_ignition_value.txt'

psuedo
fi

if [ "$time_difference_in_sec" -gt "3600" ]
then

> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'


fi
fi


I've cut out the details regarding the email, but that line works fine.



I honestly don't know what else I can do. The only difference with this bash file is that it calls another 'executable txt' file from within it. And both of these files work great from the terminal by themselves.



Update (18/02/2015):
I have further tried the CronTab by writing another (simpler) script to email out a timestamp, also recorded the timestamp into a .txt file - which worked without any problems. I rewrote it because I was thinking maybe the CronTab was not working like it should.



For anyone who is having a similiar problem these are some options you should consider:
Other things I did during troubleshooting (not in order)




  • Created an echo out to a text file to see if the program was being run

  • Avoided using sudo crontab -e everyone recommends staying away from sudo crontab -e

  • Checked the directory path within the crontab

  • Read/reread various forums, read/reread my program over and over again (get someone else who understands programming to do it, as fresh eyes can see what you might miss)

  • Added PATH and SHELL in to crontab

  • Added different CronJobs (mentioned update 18/02/15)

  • Changed relative path to full path within all the programs This made it work with the crontab










share|improve this question
























  • 3





    Now if only you provided the actual script :} for us to look at... it may require an actual TTY for in-/output, for example. Is it using fully qualified paths?

    – tink
    Feb 17 '15 at 2:19













  • @tink I've added the script.

    – 3kstc
    Feb 17 '15 at 4:35











  • Are you sure this script is working without any errors? I see issues with the if conditions.

    – Sree
    Feb 17 '15 at 5:14






  • 3





    The "bash script for the cron job" references the script ./engine_switch_check.txt, but what directory is .? You could try adding the debugging line to output pwd into a file and see whether the "bash script for the cron job" is executing where you think it is.

    – Sparhawk
    Feb 17 '15 at 6:05













  • Please show the crontab entry that should run this.

    – wurtel
    Feb 17 '15 at 7:51














1












1








1


1






I've got a bunch of CronJobs, and they work fine, except for one. I've looked through a lot of forums and websites, and tried a combination of things but alas nothing has worked.



Rephrasing the question is:



Q: The bashscript works without any problems from the terminal. But with the CronJob it does not work at all.



The last thing I have done for debugging is the following:



1) Checked if the Cron Daemon is running (ps ax | grep) =is working



2) Made an extra chron job to (retest) send out an email to me every minute (* * * * * echo "hello" | mail -s "subject" user@myemail.com) =worked fine



3) I've ran my bash script through the terminal as a standalone =worked fine



4) I've checked grep CRON /var/log/syslog for any errors =looks good/no errors



5) Checked for permissions etc. = no problems with permissions



6) The file path to the bash script for the cron job looks fine



#!/bin/bash

#When adding any additional machines make sure there are two files
#within the directory. MACHINE_NAMEMACHINE_NUMBER_initial_time.txt
#and MACHINE_NAMEMACHINE_NUMBER_old_ignition_value.txt

#./engine_switch_check.txt MACHINE_NAME MACHINE_NUMBER

echo `date +%T` >> test.txt

./engine_switch_check.txt MXE 065
./engine_switch_check.txt TMX5BP 001
./engine_switch_check.txt MX3 122
./engine_switch_check.txt TMX 098


and the engine_switch_check.txt :



#!/bin/bash

mc_id="$1" #-->eg: TMX
mc_no="$2" #-->eg: 098
echo "$mc_id $mc_no"

#echo "1--$mc_id$mc_no-DATAFILE.txt"
mc_fname=$mc_id$mc_no'_old_ignition_value.txt'
echo $mc_fname


#old_ignition_value=$(sed -n '1p' $mc_fname)
#echo "2--$old_ignition_value"
#old_ignition_value=$(sed -n '1p' $mc_id$mc_no'DATAFILE.txt')
#echo "3--$old_ignition_value"
new_ignition_value=`get values from the terminal`
old_ignition_value=$(sed -n '1p' $mc_id$mc_no'_old_ignition_value.txt')


echo "Program name: $0"
echo "New Ignition Value: $new_ignition_value"
echo "Old Ignition Value: $old_ignition_value"
echo;echo;echo

#difference_btwn_new_old_ign_values=$(awk '{print $1-$2}' <<< "$new_ignition_value $old_ignition_value")

difference_btwn_new_old_ign_values=$(($new_ignition_value - $old_ignition_value))
#difference_btwn_new_old_ign_values= expr new_ignition_value - old_ignition_value

echo "$new_ignition_value"
echo "$old_ignition_value"
echo "$difference_btwn_new_old_ign_values"

if [ "$difference_btwn_new_old_ign_values" -lt "1" ]
then
> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'
fi

if [ "$difference_btwn_new_old_ign_values" -ge "5" ]
then
final_time=`date +"%s"`
initial_time=$(sed -n '1p' $mc_id$mc_no'_initial_time.txt')
echo;echo;echo "initial time: $initial_time"
echo "final time: $final_time"
#initial_time=0000
time_difference_in_sec=$(( $final_time - $initial_time ))

echo "time difference in sec: $time_difference_in_sec"

time_difference_in_min=$(( $time_difference_in_sec / 60 ))


if [ "$time_difference_in_sec" -le "3600" ]
then
email_subject="$mc_id $mc_no switched on $difference_btwn_new_old_ign_values times within $time_difference_in_min minutes"

`echo -e "Hi there,nn$mc_id $mc_no has been switched on $difference_btwn_new_old_ign_values times within the last $time_difference_in_min minutesnnCheers," | mail -s "$email_subject" $email_list`

echo "EMAIL SENT"

: <<'psuedo'

> $mc_id$mc_no'_old_ignition_value.txt'
echo $new_ignition_value >> $mc_id$mc_no'_old_ignition_value.txt'

psuedo
fi

if [ "$time_difference_in_sec" -gt "3600" ]
then

> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'


fi
fi


I've cut out the details regarding the email, but that line works fine.



I honestly don't know what else I can do. The only difference with this bash file is that it calls another 'executable txt' file from within it. And both of these files work great from the terminal by themselves.



Update (18/02/2015):
I have further tried the CronTab by writing another (simpler) script to email out a timestamp, also recorded the timestamp into a .txt file - which worked without any problems. I rewrote it because I was thinking maybe the CronTab was not working like it should.



For anyone who is having a similiar problem these are some options you should consider:
Other things I did during troubleshooting (not in order)




  • Created an echo out to a text file to see if the program was being run

  • Avoided using sudo crontab -e everyone recommends staying away from sudo crontab -e

  • Checked the directory path within the crontab

  • Read/reread various forums, read/reread my program over and over again (get someone else who understands programming to do it, as fresh eyes can see what you might miss)

  • Added PATH and SHELL in to crontab

  • Added different CronJobs (mentioned update 18/02/15)

  • Changed relative path to full path within all the programs This made it work with the crontab










share|improve this question
















I've got a bunch of CronJobs, and they work fine, except for one. I've looked through a lot of forums and websites, and tried a combination of things but alas nothing has worked.



Rephrasing the question is:



Q: The bashscript works without any problems from the terminal. But with the CronJob it does not work at all.



The last thing I have done for debugging is the following:



1) Checked if the Cron Daemon is running (ps ax | grep) =is working



2) Made an extra chron job to (retest) send out an email to me every minute (* * * * * echo "hello" | mail -s "subject" user@myemail.com) =worked fine



3) I've ran my bash script through the terminal as a standalone =worked fine



4) I've checked grep CRON /var/log/syslog for any errors =looks good/no errors



5) Checked for permissions etc. = no problems with permissions



6) The file path to the bash script for the cron job looks fine



#!/bin/bash

#When adding any additional machines make sure there are two files
#within the directory. MACHINE_NAMEMACHINE_NUMBER_initial_time.txt
#and MACHINE_NAMEMACHINE_NUMBER_old_ignition_value.txt

#./engine_switch_check.txt MACHINE_NAME MACHINE_NUMBER

echo `date +%T` >> test.txt

./engine_switch_check.txt MXE 065
./engine_switch_check.txt TMX5BP 001
./engine_switch_check.txt MX3 122
./engine_switch_check.txt TMX 098


and the engine_switch_check.txt :



#!/bin/bash

mc_id="$1" #-->eg: TMX
mc_no="$2" #-->eg: 098
echo "$mc_id $mc_no"

#echo "1--$mc_id$mc_no-DATAFILE.txt"
mc_fname=$mc_id$mc_no'_old_ignition_value.txt'
echo $mc_fname


#old_ignition_value=$(sed -n '1p' $mc_fname)
#echo "2--$old_ignition_value"
#old_ignition_value=$(sed -n '1p' $mc_id$mc_no'DATAFILE.txt')
#echo "3--$old_ignition_value"
new_ignition_value=`get values from the terminal`
old_ignition_value=$(sed -n '1p' $mc_id$mc_no'_old_ignition_value.txt')


echo "Program name: $0"
echo "New Ignition Value: $new_ignition_value"
echo "Old Ignition Value: $old_ignition_value"
echo;echo;echo

#difference_btwn_new_old_ign_values=$(awk '{print $1-$2}' <<< "$new_ignition_value $old_ignition_value")

difference_btwn_new_old_ign_values=$(($new_ignition_value - $old_ignition_value))
#difference_btwn_new_old_ign_values= expr new_ignition_value - old_ignition_value

echo "$new_ignition_value"
echo "$old_ignition_value"
echo "$difference_btwn_new_old_ign_values"

if [ "$difference_btwn_new_old_ign_values" -lt "1" ]
then
> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'
fi

if [ "$difference_btwn_new_old_ign_values" -ge "5" ]
then
final_time=`date +"%s"`
initial_time=$(sed -n '1p' $mc_id$mc_no'_initial_time.txt')
echo;echo;echo "initial time: $initial_time"
echo "final time: $final_time"
#initial_time=0000
time_difference_in_sec=$(( $final_time - $initial_time ))

echo "time difference in sec: $time_difference_in_sec"

time_difference_in_min=$(( $time_difference_in_sec / 60 ))


if [ "$time_difference_in_sec" -le "3600" ]
then
email_subject="$mc_id $mc_no switched on $difference_btwn_new_old_ign_values times within $time_difference_in_min minutes"

`echo -e "Hi there,nn$mc_id $mc_no has been switched on $difference_btwn_new_old_ign_values times within the last $time_difference_in_min minutesnnCheers," | mail -s "$email_subject" $email_list`

echo "EMAIL SENT"

: <<'psuedo'

> $mc_id$mc_no'_old_ignition_value.txt'
echo $new_ignition_value >> $mc_id$mc_no'_old_ignition_value.txt'

psuedo
fi

if [ "$time_difference_in_sec" -gt "3600" ]
then

> $mc_id$mc_no'_initial_time.txt'
initial_time=`date +"%s"`
echo $initial_time >> $mc_id$mc_no'_initial_time.txt'


fi
fi


I've cut out the details regarding the email, but that line works fine.



I honestly don't know what else I can do. The only difference with this bash file is that it calls another 'executable txt' file from within it. And both of these files work great from the terminal by themselves.



Update (18/02/2015):
I have further tried the CronTab by writing another (simpler) script to email out a timestamp, also recorded the timestamp into a .txt file - which worked without any problems. I rewrote it because I was thinking maybe the CronTab was not working like it should.



For anyone who is having a similiar problem these are some options you should consider:
Other things I did during troubleshooting (not in order)




  • Created an echo out to a text file to see if the program was being run

  • Avoided using sudo crontab -e everyone recommends staying away from sudo crontab -e

  • Checked the directory path within the crontab

  • Read/reread various forums, read/reread my program over and over again (get someone else who understands programming to do it, as fresh eyes can see what you might miss)

  • Added PATH and SHELL in to crontab

  • Added different CronJobs (mentioned update 18/02/15)

  • Changed relative path to full path within all the programs This made it work with the crontab







bash cron






share|improve this question















share|improve this question













share|improve this question




share|improve this question



share|improve this question








edited Feb 18 '15 at 4:37







3kstc

















asked Feb 17 '15 at 2:12









3kstc3kstc

1,6008 gold badges23 silver badges44 bronze badges




1,6008 gold badges23 silver badges44 bronze badges











  • 3





    Now if only you provided the actual script :} for us to look at... it may require an actual TTY for in-/output, for example. Is it using fully qualified paths?

    – tink
    Feb 17 '15 at 2:19













  • @tink I've added the script.

    – 3kstc
    Feb 17 '15 at 4:35











  • Are you sure this script is working without any errors? I see issues with the if conditions.

    – Sree
    Feb 17 '15 at 5:14






  • 3





    The "bash script for the cron job" references the script ./engine_switch_check.txt, but what directory is .? You could try adding the debugging line to output pwd into a file and see whether the "bash script for the cron job" is executing where you think it is.

    – Sparhawk
    Feb 17 '15 at 6:05













  • Please show the crontab entry that should run this.

    – wurtel
    Feb 17 '15 at 7:51














  • 3





    Now if only you provided the actual script :} for us to look at... it may require an actual TTY for in-/output, for example. Is it using fully qualified paths?

    – tink
    Feb 17 '15 at 2:19













  • @tink I've added the script.

    – 3kstc
    Feb 17 '15 at 4:35











  • Are you sure this script is working without any errors? I see issues with the if conditions.

    – Sree
    Feb 17 '15 at 5:14






  • 3





    The "bash script for the cron job" references the script ./engine_switch_check.txt, but what directory is .? You could try adding the debugging line to output pwd into a file and see whether the "bash script for the cron job" is executing where you think it is.

    – Sparhawk
    Feb 17 '15 at 6:05













  • Please show the crontab entry that should run this.

    – wurtel
    Feb 17 '15 at 7:51








3




3





Now if only you provided the actual script :} for us to look at... it may require an actual TTY for in-/output, for example. Is it using fully qualified paths?

– tink
Feb 17 '15 at 2:19







Now if only you provided the actual script :} for us to look at... it may require an actual TTY for in-/output, for example. Is it using fully qualified paths?

– tink
Feb 17 '15 at 2:19















@tink I've added the script.

– 3kstc
Feb 17 '15 at 4:35





@tink I've added the script.

– 3kstc
Feb 17 '15 at 4:35













Are you sure this script is working without any errors? I see issues with the if conditions.

– Sree
Feb 17 '15 at 5:14





Are you sure this script is working without any errors? I see issues with the if conditions.

– Sree
Feb 17 '15 at 5:14




3




3





The "bash script for the cron job" references the script ./engine_switch_check.txt, but what directory is .? You could try adding the debugging line to output pwd into a file and see whether the "bash script for the cron job" is executing where you think it is.

– Sparhawk
Feb 17 '15 at 6:05







The "bash script for the cron job" references the script ./engine_switch_check.txt, but what directory is .? You could try adding the debugging line to output pwd into a file and see whether the "bash script for the cron job" is executing where you think it is.

– Sparhawk
Feb 17 '15 at 6:05















Please show the crontab entry that should run this.

– wurtel
Feb 17 '15 at 7:51





Please show the crontab entry that should run this.

– wurtel
Feb 17 '15 at 7:51










3 Answers
3






active

oldest

votes


















1


















I think you need to set the path variable in the script



For example



PATH='/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin'





share|improve this answer





























  • A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

    – 3kstc
    Feb 17 '15 at 4:57













  • @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

    – muru
    Feb 18 '15 at 0:35













  • @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

    – 3kstc
    Feb 18 '15 at 1:10











  • Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

    – muru
    Feb 18 '15 at 1:14











  • @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

    – 3kstc
    Feb 18 '15 at 1:26



















1


















Setting $PATH, as others have suggested, is always a good practice in scripts that may be called from outside of your interactive environment.



When you are calling the scripts from your shell, you probably cd to the containing directory first. You'll also need to do that here.



cron may run your script with a working directory of / or /var, for example, so you need to use full paths to programs outside of $PATH, or change to the proper working directory. In this case you will want to change working directories because the script writes to disk and it appears you want the output file to reside in the same directory as the script.



You can change directories in the crontab entry:



* * * * * cd /home/ed/enginecheck && ./engine.txt


Or in the script itself (before any other commands):



cd /home/ed/enginecheck

echo `date +%T` >> test.txt
...





share|improve this answer


































    1


















    The solution that worked for me is I changed all of the paths within my two programs from relative paths ie: (./name_of_file.txt) to full paths (ie: /home/ed/directory/some_more_directory/name_of_file.txt)



    Was it just this, or a combination of the other things I did, I don't know - but changing the paths from relative to full path did it.






    share|improve this answer






















    • 1





      cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

      – Ian D. Allen
      Nov 23 '15 at 6:29













    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });















    draft saved

    draft discarded
















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f185236%2fbashscript-works-from-terminal-but-not-from-crontab%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown


























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1


















    I think you need to set the path variable in the script



    For example



    PATH='/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin'





    share|improve this answer





























    • A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

      – 3kstc
      Feb 17 '15 at 4:57













    • @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

      – muru
      Feb 18 '15 at 0:35













    • @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

      – 3kstc
      Feb 18 '15 at 1:10











    • Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

      – muru
      Feb 18 '15 at 1:14











    • @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

      – 3kstc
      Feb 18 '15 at 1:26
















    1


















    I think you need to set the path variable in the script



    For example



    PATH='/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin'





    share|improve this answer





























    • A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

      – 3kstc
      Feb 17 '15 at 4:57













    • @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

      – muru
      Feb 18 '15 at 0:35













    • @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

      – 3kstc
      Feb 18 '15 at 1:10











    • Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

      – muru
      Feb 18 '15 at 1:14











    • @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

      – 3kstc
      Feb 18 '15 at 1:26














    1














    1










    1









    I think you need to set the path variable in the script



    For example



    PATH='/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin'





    share|improve this answer
















    I think you need to set the path variable in the script



    For example



    PATH='/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin'






    share|improve this answer















    share|improve this answer




    share|improve this answer



    share|improve this answer








    edited Feb 18 '15 at 0:34









    muru

    45.3k5 gold badges111 silver badges185 bronze badges




    45.3k5 gold badges111 silver badges185 bronze badges










    answered Feb 17 '15 at 4:53









    user610209user610209

    3993 silver badges9 bronze badges




    3993 silver badges9 bronze badges
















    • A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

      – 3kstc
      Feb 17 '15 at 4:57













    • @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

      – muru
      Feb 18 '15 at 0:35













    • @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

      – 3kstc
      Feb 18 '15 at 1:10











    • Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

      – muru
      Feb 18 '15 at 1:14











    • @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

      – 3kstc
      Feb 18 '15 at 1:26



















    • A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

      – 3kstc
      Feb 17 '15 at 4:57













    • @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

      – muru
      Feb 18 '15 at 0:35













    • @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

      – 3kstc
      Feb 18 '15 at 1:10











    • Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

      – muru
      Feb 18 '15 at 1:14











    • @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

      – 3kstc
      Feb 18 '15 at 1:26

















    A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

    – 3kstc
    Feb 17 '15 at 4:57







    A bit of an amateurish question - would this be inside my script which calls the engine_switch_check.txt? And how would I figure out the PATH variable?

    – 3kstc
    Feb 17 '15 at 4:57















    @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

    – muru
    Feb 18 '15 at 0:35







    @3kstc run echo $PATH from a normal terminal. You can place it inside the script or at the top of the crontab, before the cron entries begin. An example: unix.stackexchange.com/questions/158473/…

    – muru
    Feb 18 '15 at 0:35















    @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

    – 3kstc
    Feb 18 '15 at 1:10





    @muru - I'm unfamiliar with PATH. So I have a few Q's . I've run echo $PATH and I got this: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games. Q Where do I place this line, and do I call it. Is there anything else I need to write up within the crontab? Do I have to reconfigure my crontab's directory i.e. * * * * * /home/ed/enginecheck/engine.txt?

    – 3kstc
    Feb 18 '15 at 1:10













    Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

    – muru
    Feb 18 '15 at 1:14





    Place PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lo‌​cal/games at the top of of your crontab (the question I linked to in the previous comment has an example). As to the other question, first check out Sparhawk's comment on your question.

    – muru
    Feb 18 '15 at 1:14













    @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

    – 3kstc
    Feb 18 '15 at 1:26





    @muru I'm guessing it would be wise to also add SHELL=/bin/bash as all my codes in CronTab are written in BashScript (extensions are TXT though - this shouldn't be a problem right?) Q Once I place the PATH and SHELL on top of my crontab, what will I be doing :/ Sorry for such trivial questions, but I really want to learn.

    – 3kstc
    Feb 18 '15 at 1:26













    1


















    Setting $PATH, as others have suggested, is always a good practice in scripts that may be called from outside of your interactive environment.



    When you are calling the scripts from your shell, you probably cd to the containing directory first. You'll also need to do that here.



    cron may run your script with a working directory of / or /var, for example, so you need to use full paths to programs outside of $PATH, or change to the proper working directory. In this case you will want to change working directories because the script writes to disk and it appears you want the output file to reside in the same directory as the script.



    You can change directories in the crontab entry:



    * * * * * cd /home/ed/enginecheck && ./engine.txt


    Or in the script itself (before any other commands):



    cd /home/ed/enginecheck

    echo `date +%T` >> test.txt
    ...





    share|improve this answer































      1


















      Setting $PATH, as others have suggested, is always a good practice in scripts that may be called from outside of your interactive environment.



      When you are calling the scripts from your shell, you probably cd to the containing directory first. You'll also need to do that here.



      cron may run your script with a working directory of / or /var, for example, so you need to use full paths to programs outside of $PATH, or change to the proper working directory. In this case you will want to change working directories because the script writes to disk and it appears you want the output file to reside in the same directory as the script.



      You can change directories in the crontab entry:



      * * * * * cd /home/ed/enginecheck && ./engine.txt


      Or in the script itself (before any other commands):



      cd /home/ed/enginecheck

      echo `date +%T` >> test.txt
      ...





      share|improve this answer





























        1














        1










        1









        Setting $PATH, as others have suggested, is always a good practice in scripts that may be called from outside of your interactive environment.



        When you are calling the scripts from your shell, you probably cd to the containing directory first. You'll also need to do that here.



        cron may run your script with a working directory of / or /var, for example, so you need to use full paths to programs outside of $PATH, or change to the proper working directory. In this case you will want to change working directories because the script writes to disk and it appears you want the output file to reside in the same directory as the script.



        You can change directories in the crontab entry:



        * * * * * cd /home/ed/enginecheck && ./engine.txt


        Or in the script itself (before any other commands):



        cd /home/ed/enginecheck

        echo `date +%T` >> test.txt
        ...





        share|improve this answer














        Setting $PATH, as others have suggested, is always a good practice in scripts that may be called from outside of your interactive environment.



        When you are calling the scripts from your shell, you probably cd to the containing directory first. You'll also need to do that here.



        cron may run your script with a working directory of / or /var, for example, so you need to use full paths to programs outside of $PATH, or change to the proper working directory. In this case you will want to change working directories because the script writes to disk and it appears you want the output file to reside in the same directory as the script.



        You can change directories in the crontab entry:



        * * * * * cd /home/ed/enginecheck && ./engine.txt


        Or in the script itself (before any other commands):



        cd /home/ed/enginecheck

        echo `date +%T` >> test.txt
        ...






        share|improve this answer













        share|improve this answer




        share|improve this answer



        share|improve this answer










        answered Feb 18 '15 at 1:33









        zacksezackse

        1,2385 silver badges9 bronze badges




        1,2385 silver badges9 bronze badges


























            1


















            The solution that worked for me is I changed all of the paths within my two programs from relative paths ie: (./name_of_file.txt) to full paths (ie: /home/ed/directory/some_more_directory/name_of_file.txt)



            Was it just this, or a combination of the other things I did, I don't know - but changing the paths from relative to full path did it.






            share|improve this answer






















            • 1





              cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

              – Ian D. Allen
              Nov 23 '15 at 6:29
















            1


















            The solution that worked for me is I changed all of the paths within my two programs from relative paths ie: (./name_of_file.txt) to full paths (ie: /home/ed/directory/some_more_directory/name_of_file.txt)



            Was it just this, or a combination of the other things I did, I don't know - but changing the paths from relative to full path did it.






            share|improve this answer






















            • 1





              cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

              – Ian D. Allen
              Nov 23 '15 at 6:29














            1














            1










            1









            The solution that worked for me is I changed all of the paths within my two programs from relative paths ie: (./name_of_file.txt) to full paths (ie: /home/ed/directory/some_more_directory/name_of_file.txt)



            Was it just this, or a combination of the other things I did, I don't know - but changing the paths from relative to full path did it.






            share|improve this answer














            The solution that worked for me is I changed all of the paths within my two programs from relative paths ie: (./name_of_file.txt) to full paths (ie: /home/ed/directory/some_more_directory/name_of_file.txt)



            Was it just this, or a combination of the other things I did, I don't know - but changing the paths from relative to full path did it.







            share|improve this answer













            share|improve this answer




            share|improve this answer



            share|improve this answer










            answered Feb 18 '15 at 4:04









            3kstc3kstc

            1,6008 gold badges23 silver badges44 bronze badges




            1,6008 gold badges23 silver badges44 bronze badges











            • 1





              cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

              – Ian D. Allen
              Nov 23 '15 at 6:29














            • 1





              cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

              – Ian D. Allen
              Nov 23 '15 at 6:29








            1




            1





            cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

            – Ian D. Allen
            Nov 23 '15 at 6:29





            cron jobs always start up in your HOME directory. Yes, if you don't specify an absolute pathname, you have to use a relative pathname that is relative to your HOME directory. Your relative pathnames were not relative to your HOME directory.

            – Ian D. Allen
            Nov 23 '15 at 6:29



















            draft saved

            draft discarded



















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f185236%2fbashscript-works-from-terminal-but-not-from-crontab%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...