Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl Module Not Working In Crontab

by ww (Archbishop)
on Jan 05, 2012 at 23:24 UTC ( [id://946493]=note: print w/replies, xml ) Need Help??


in reply to Perl Module Not Working In Crontab

Don't know, but line 20 of your shell script looks fishy to me. It doesn't invoke the Perl executable; merely references its location, so that part is either redundant or wrong.

And despite your assertion that the modis_greening.pl runs but fails to use the module, I have to wonder if you have CHMODed your Perl script appropriately. Crontab won't be running under your id and you haven't cited any evidence that "the script works," whatever that means when you're telling us it doesn't do what you intended.

Note that I haven't even looked closely at most of modis_greening.pl. As the advice on posting questions notes, post a minimal sample that reproduces the problem. 400 lines, even with generous whitespace is more than I'll bother to download, absent some far more intriguing problem description. The prior respondent may be onto sometime, but that suggests s/he did at least run your script against perl -c ....

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-19 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found