Search This Blog

Wednesday, February 25, 2009

Writing in crontab for scheduling from terminal

crontab -l > /tmp/file
echo "12 12 * * * sh /ascript.sh_path" >> /tmp/file
crontab /tmp/file
rm -f /tmp/file

By this your script is now ready to run according to the time scheduled

No comments:

Post a Comment