Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl Script Not Working With Crontab

by misc (Pilgrim)
on Aug 23, 2007 at 14:37 UTC ( #634650=note: print w/ replies, xml ) Need Help??


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
  • Comment on Re: Perl Script Not Working With Crontab

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-06-28 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (364 votes). Check out past polls.