Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 making s'mores by the fire in the courtyard of the Monastery: (17)
As of 2015-03-03 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (78 votes), past polls