Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Continuous or timed?

by haukex (Archbishop)
on Dec 14, 2020 at 16:33 UTC ( [id://11125168]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Continuous or timed?
in thread Continuous or timed?

What else should I be looking at to try and debug this problem

Well, cron runs its entries with a very limited environment. So for example, if you've set a custom PERL5LIB environment variable, such as by using local::lib to install modules into your home directory, then those settings that perl gets via the environment won't be present. If that's the problem here, there are a couple of possible solutions: you could set PERL5LIB explicitly in the crontab, you could use lib, write a wrapper script, or, IIRC I once did this with an file in /etc/default, but that might be overkill on a simple "single-user" RPi.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-24 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found