A little background, I have a perl script that does a number of things, but one of them is it calls some system commands and one of those commands calls other system commands. (I call mkvdts2ac3, it calls mkvmerge) This is all running out of a cronjob under my user. When I run the script as my user, everything works fine. When I let the script run under the cronjob, it fails saying mkvmerge is not in my path.
I don't think this is really a perl problem, but rather a system (in general, how unix systems env variable are set) kind of problem.
What I'm wondering, is, has anyone run in to a similar problem and how have you solved it?
I've got PATH=/blah/blah/blah:/more/blah:/and/more set in my crontab, still no luck. Just wondering if anyone has any other ideas. In the meantime, I've edited the mkvdts2ac3 script to fully specify the mkvmerge path instead of just calling it from the system path. This isn't a long term solution I like, but works for now.
ThanksIn reply to Having a problem with my path by calebcall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |