Thursday, October 18, 2012

Multiple schedules in CRONTAB

CRONTAB can be used to schedule applications.

There are some situations, you have to run application for a few times for a day.

Following example, demonstrates the sample crontab to run two schedules.

0 10,18 * * * /home/sujith/apps/app_schedule.sh

Above crontab will run the schedule(app_schedule.sh) twice a day. (10 AM & 18 PM)