Crontab - Job/Scripts schedule details.

Below details will be helpful to schedule jobs/script with crontab.

1. crontab -e            # It will allow to create new one if does not exist or edit the exiting schedules.
2. crontab -l             # Display cron schedules
3. crontab -r             # Remove cron schedule
4. crontab -v            #Display last time when you edited cron file


It holds 5 start(*) value. Sample will be as below one.

$crontab -l
* * * * * path/abc.sh


Explanation:
1st * : min (0-59)
2nd *: hour (0-23)
3rd *: day of the month (0-31)
4th *: month (1-12)
5th *: day of the week (0-6)(0-Sunday)


No comments:

Post a Comment