![]() |
|||
Crontab - How to Edit
By: Shailesh Singh | 16 Oct 2008 12:05 pm
How to Edit Entry in Crontab file The crontab (cron derives from chronos, Greek for time; tab stands for table) To Open crontab file $ crontab -l To edit it $ crontab -e this will open the crontab file in VI Editor Format of Crontab
* * * * * /bin/execute/folder/script.sh
As you can see there are 5 stars. The stars represent different date parts in the following order:
To run the command every minut
* * * * * /bin/execute/this/script.sh in this way u can edit the crontab file to automate your script
|
