Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 chanting in the Monastery: (3)
As of 2014-07-10 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls