Unix questions - Making a "crontab" File on POWWEB?

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > March 2004 > Making a "crontab" File on POWWEB?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Making a "crontab" File on POWWEB?
Viva-Zapata

2004-03-15, 1:34 am

My virtual server is using an apache system on POWWEB.
I need to execute a CGI script, "speller.cgi", every hour. I assume
that I have to create a directory called "etc" and place my file in it
with the name "crontab". I assume that the directory "etc" resides
exactly where the "cgi-bin" directory resides.
What does the crontab file actually contain? Is it just something like

0 0 * * * /www/g/georgief/cgi-bin/speller.cgi

?

Thank you!

hermes


mgrd

2004-03-15, 11:35 am

Viva-Zapata wrote:
> What does the crontab file actually contain? Is it just something like
> 0 0 * * * /www/g/georgief/cgi-bin/speller.cgi


these are the crontab fields:

minute (0-59)
| hour (0-23)
| | day of the month (1-31)
| | | month of the year (1-12)
| | | | day of the week (0-6 with 0=Sunday)
| | | | | commands
| | | | | |
* * * * * <cmd>

refer to section 5 rather than section 1 of the crontab man pages
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com