Dealing with Contrab

Recommended Posts


Lets look at the crontab file usually in /etc

How do you configure this...what are the correct commands to use in this script

* * * * * what are these ( the real values)

Link to post
Share on other sites

Well OK here goes for those that don't like all the reading in circles.

The format:

Minutes Hours Days Months Weekdays User Command to run

(0-60) (0-23) (1-31) (Jan-Dec) (Sun-Sat) (root) (Your command string)


To run say fetchmail as root with your fetchmail script every five minutes everyday / every month -

0-60/5 * * * * root /usr/bin/fetchmail -a -f /root/fetchmailrc

The '0-60/5' is between minute 0 - 60 with an interval of 5 minutes.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.