Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 perusing the Monastery: (18)
As of 2015-07-06 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls