Unix Blog

Thursday, December 11, 2008

Cron

List crontab
crontab -l

Edit crontab
crontab -e

Syntax

*     *     *   *    *        command to be executed
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)

Enable cron in linux
Check the files cron.allow and cron.deny. Add users to cron.allow to allow to execute cron.

posted by Jayanthi Krishnamurthy @ 2:09 PM   0 Comments

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

Newer›  

About Me

Name: Jayanthi Krishnamurthy

View my complete profile

Posts

  • Cron

Newer Posts

Archives

Subscribe to
Posts [Atom]