How To Use Cron as Task Scheduler

This is only simple mini howto about cron.
Cron is job scheduler for GNU/Linux system, runs on define time by user.

A simple command of cron, for example will look like this:

* * * * * command_or_script_to_execute

The asterixs in the command mean:

  • The first asterix: specifies minute

  • The second asterix: specifies hour

  • The third asterix: specifies day

  • The fourth asterix: specifies month

  • The fifth asterix: specifies week



So, if you want to run script everyday on 09.30 you will use this command:

30 9 * * * command_or_script_to_execute

For more information how to use cron, you can find it here:
http://www.linuxhelp.net/guides/cron/

Post a Comment

0 Comments