Questions about the crontab.

Peter Abrahamsen peidran at
Sat Dec 22 15:38:14 PST 2001

man 5 crontab
displays an explanation of the structure and syntax of the crontab file.


On Sat, Dec 22, 2001 at 01:17:01AM -0800, C. Mills wrote:

> If your root you can just put this in /etc/crontab

> # m h dom mon dow user command

> */10 * * * * root /path/

> Make sure you have

> #!/usr/bin/perl

> or whatever on the first line of your perl script.

> If you don't have root access you can make your own crontab, see

> man crontab

> If you run "crontab -e" you can put that line in your own crontab.

> Charlie


> On Fri, 21 Dec 2001, Mark-Nathaniel Weisman wrote:

> > Mike,

> > Don't mean to bother you, but I've got a question regarding the

> > crontab. I've done a little reading and I'm hoping you can make sense

> > of editing the crontab with pico. I want to add a function that will

> > fire a .pl script every 10 minutes. Would you be so kind as to

> > demonstrate the steps to do this. Right now I just moved the .cgi

> > script into the /etc/cron.hourly directory and left it at that.

> > Unsure of what to do from here. Help, please. I'd greatly appreciate

> > it.

Peter Abrahamsen
University of Washington, Seattle, WA, USA
Key 0x039922C0 : 259E 19C4 6FB4 1CA2 AC9D 75CE 8B5F 993D 0399 22C0
Hail Eris.

More information about the Linux mailing list