in reply to Perl Script Not Working With Crontab
What do you mean with "it fails" exactly ?
If you get an error message mailed, this would be helpful.
A guess:
You could try replacing testcron.txt with /absolutepath/testcron.txt
(update) so system("echo test > testcron.txt");
gets system("echo test > /absolutepath/testcron.txt")
michael
If you get an error message mailed, this would be helpful.
A guess:
You could try replacing testcron.txt with /absolutepath/testcron.txt
(update) so system("echo test > testcron.txt");
gets system("echo test > /absolutepath/testcron.txt")
michael
|
---|
In Section
Seekers of Perl Wisdom