dessie1981
Programmer
Hi Everyone,
I'm quite new to using cron,
I need to run a shell script every night and i have put the following entry in /etc/crontab
30 4 * * * root /home/c2000/data_files/automation.sh
The script does not seem to be running as i have output logging to a text file and nothing is being outputted when the script is supposed to be being run by cron
The logging works fine works fine when i run the script manually from the command line.
Below are the permissions of the file.
-rwxr-xr-x 1 root root 1571 Aug 16 11:15 automation.sh
Should i change these??
Also in /var/log/cron is can see the below entry
Aug 30 04:30:01 localhost crond[18034]: (root) CMD (/home/c2000/data_files/automation.sh)
Any help would be greatful
Regards
Dessie
I'm quite new to using cron,
I need to run a shell script every night and i have put the following entry in /etc/crontab
30 4 * * * root /home/c2000/data_files/automation.sh
The script does not seem to be running as i have output logging to a text file and nothing is being outputted when the script is supposed to be being run by cron
The logging works fine works fine when i run the script manually from the command line.
Below are the permissions of the file.
-rwxr-xr-x 1 root root 1571 Aug 16 11:15 automation.sh
Should i change these??
Also in /var/log/cron is can see the below entry
Aug 30 04:30:01 localhost crond[18034]: (root) CMD (/home/c2000/data_files/automation.sh)
Any help would be greatful
Regards
Dessie