Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have my perl script execute automatically each night using cron. However, whenever cron runs the script, it never is able to read in the text from the file. No errors are reported, the file is just read. Each night I check my computer to find that the script has not read the file. I then manuall run the script and it reads the file just fine.open(TICKS,"textfile"); while(<TICK>){ $thestring=$_; } print $thestring;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Read file (cron)
by stajich (Chaplain) on Jul 04, 2002 at 01:49 UTC | |
by Anonymous Monk on Jul 04, 2002 at 02:10 UTC | |
|
Re: Read file (cron)
by greenFox (Vicar) on Jul 04, 2002 at 02:36 UTC | |
|
Re: Read file (cron)
by Abigail-II (Bishop) on Jul 04, 2002 at 10:11 UTC | |
|
Re: Read file (cron)
by VSarkiss (Monsignor) on Jul 04, 2002 at 03:09 UTC | |
|
Re: Read file (cron)
by amphiplex (Monk) on Jul 04, 2002 at 05:54 UTC |