Questions about the crontab.
boson at u.washington.edu
Sat Dec 22 01:17:01 PST 2001
If your root you can just put this in /etc/crontab
# m h dom mon dow user command
*/10 * * * * root /path/script.pl
Make sure you have
or whatever on the first line of your perl script.
If you don't have root access you can make your own crontab, see
If you run "crontab -e" you can put that line in your own crontab.
On Fri, 21 Dec 2001, Mark-Nathaniel Weisman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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
> Thank you,
> Mark-Nathaniel Weisman A+, MCP, CNA, MOUS MI
> Network Systems Administrator
> Career Academy
> Anchorage, AK
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
> -----END PGP SIGNATURE-----
More information about the Linux