Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: Having a problem with my path

by astroboy (Chaplain)
on Nov 13, 2013 at 00:52 UTC ( #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."


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062286]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-01-18 04:43 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (206 votes). Check out past polls.