Skip to content

How to run crontab once a day every day?

You can set crontab to run cron once a day every day. The format is:

minute hour * * * command

Replace the minute and hour for the time that you want your cron job to run every day. Command is the script or command that you would like to run by cron. For example:

30 23 * * * backup.sh

Per this entry, cron will run backup.sh at 23:30 (11.30pm) once a day, every day.

Categories: Linux tips.

Comment Feed

One Response

  1. You can also use @daily.

    eg. @daily command

    which is equivalent to 0 0 * * *



Some HTML is OK

or, reply to this post via trackback.