CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Need help on Running perl prg. thru cron

 



skforum
Deleted

Dec 1, 2000, 8:26 PM

Post #1 of 3 (886 views)
Need help on Running perl prg. thru cron Can't Post

I am in desparate need of help on the execution of perl program thru cron jobs.

I have following in my cron file:
02 12 * * * /usr/bin/perl /home/user/cgi-bin/dojobs.pl

Which i want to run everyday. But when i test this program does not execuets ... I checked the var/log/spool to see whether it had executed or not .... I see there is entry at this time for CMD execution at given time. But no result since prg. was suppose to create a log report firlwhich is not there.

Please show me how to run perl program thru cron jobs.

Any help appreciated.
SK.


sleuth
Enthusiast

Dec 1, 2000, 9:36 PM

Post #2 of 3 (886 views)
Re: Need help on Running perl prg. thru cron [In reply to] Can't Post

Duplicate Post:
http://www.perlguru.com/forum/Forum14/HTML/000010.shtml


perlplexer
Deleted

Dec 2, 2000, 7:38 AM

Post #3 of 3 (886 views)
Re: Need help on Running perl prg. thru cron [In reply to] Can't Post

You can read 'man cron' and 'man crontab' to get a better understanding of how it all works.
If your script uses environment variables or any programs that your script runs use them, you may want to make sure they all get set up properly.

cron also emails you STDOUT from the script.

perlplexer

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives