Jump to content

Creating Cron Job

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Hektor

Hektor

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Can someone step me through the process of creating a Cron job in Linux?

#2
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
You want to use the crontab:

1) crontab -e
2) You are in a vi like session now so type "i" to insert a new line.
3) Add a new line:

minute day week month year
5,20,25 * * * * /bin/command.pl

This will execute every hour at minutes 5, 20 and 25.