monkfan has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
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 |