Gossamer Forum
Home : General : Perl Programming :

Crontab Problem

Quote Reply
Crontab Problem
Hi, I am trying to set up a cron job to run a script every minute. Can anyone show me how to do that? This is what I wrote, but it's not logging:

0,2,4,6,8,10,12,14,16,18,20,22,24,26,30,32,34,36,38,40,42,46,48,50,52,54,56,58 * * * * /usr/home1/techdeve/cgi-bin/submit.cgi > /usr/home1/techdeve/html/cgi-bin/log.txt
Quote Reply
Re: Crontab Problem In reply to
The problem could be is that your ISP has set certain time restrictions on crontab. My ISP does not allow cron jobs to run every hour and every minute.

I would check with your ISP and ask them what restrictions they have with crontab.

BTW: When you try to edit crontab (crontab -e), do you receive an error message from the Cron Deamon? (such as syntax error).

If so, this probably means that you are setting time periods that are not allowed by your ISP.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us