Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Having a problem with my path

by astroboy (Chaplain)
on Nov 13, 2013 at 00:52 UTC ( [id://1062286]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Having a problem with my path
in thread Having a problem with my path

This is not an uncommon issue. The solution I use is to set the environment prior to calling the script I want ot run

30 01 * * * * . /path/to/myenv.env; /path/to/myscript

Replies are listed 'Best First'.
Re^4: Having a problem with my path
by taint (Chaplain) on Nov 13, 2013 at 01:42 UTC
    Thank you for clarifying. :)
    I tried to say that above:
    "Hard to fully diagnose without also seeing the actual cron. If you use a fully qualified path from the cron to mkvdts2ac3, when calling it, and use an absolute path to mkvmerge, when calling it from mkvdts2ac3. There should really be no problems."

    --Chris

    #!/usr/bin/perl -Tw
    use Perl::Always or die;
    my $perl_version = (5.12.5);
    print $perl_version;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found