Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Twig in a crontab?

by Fletch (Bishop)
on Jan 31, 2008 at 13:52 UTC ( [id://665346]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Twig in a crontab?
in thread Twig in a crontab?

Bourne-ish shell syntax lets you set an environment variable for a single command by prefixing the command with VAR=value, so this command line would probably work if you wanted to do it in-place in the crontab:

sh -c 'cd $HOME/bin ; LD_LIBRARY_PATH=/usr/sfw/lib ./test.pl'

The cake is a lie.
The cake is a lie.
The cake is a lie.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 01:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found