monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Hi experts,
I was trying to run this simple script (cron.pl) with CRON
Update:
Regards,
Edward
I was trying to run this simple script (cron.pl) with CRON
but it fail to be executed with my cron entries that look like this:#!/usr/local/bin/perl -w use strict; system("echo test > testcron.txt"); #system("nohup perl later_other_code.pl&");
Meaning that 'testcron.txt' wasn't created at all at this directory: /home/monkfan/MyPerl/. Why is that?MAILTO=monkfan@gmail.com * * * * * /usr/local/bin/perl /home/monkfan/MyPerl/cron.pl
Update:
- Also, I have no root access in this Linux box.
- Five (*) indicates cron to run the command at every minute of every hour of every day of every month.
Regards,
Edward
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl Script Not Working With Crontab
by moritz (Cardinal) on Aug 23, 2007 at 15:02 UTC | |
Re: Perl Script Not Working With Crontab
by clinton (Priest) on Aug 23, 2007 at 14:54 UTC | |
Re: Perl Script Not Working With Crontab
by misc (Friar) on Aug 23, 2007 at 14:37 UTC | |
Re: Perl Script Not Working With Crontab
by pinetree (Scribe) on Aug 24, 2007 at 22:05 UTC | |
Re: Perl Script Not Working With Crontab
by cengineer (Pilgrim) on Aug 24, 2007 at 13:59 UTC | |
Re: Perl Script Not Working With Crontab
by FunkyMonk (Chancellor) on Aug 23, 2007 at 14:31 UTC | |
by clinton (Priest) on Aug 23, 2007 at 14:56 UTC |
Back to
Seekers of Perl Wisdom