I've been reading up about using cron, and think I may need some help.
I've created a basic sh script
echo "The date/time is : $(date)" >> timelog ;
When I run the file from the cli it appends the current date/time to the file timelog
Now in order to test that i am learning how to use cron correctly, I want to make sure this happens every minute.
So I ran "crontab -e"
And created the following file
* * * * * sh /home/tc/update.log.sh
I used nano to create "/etc/cron.allow" with the following contents
And I monitor the contents of timelog with
tail -f timelog
However, the expected date/time info is not being appended to the file.
I have looked around on a few websites, and i'm pretty sure that I've got he correct cron format for a job every 1 minutes.
Your comments and suggestions are welcome.