zifko
Technical User
- Oct 9, 2002
- 10
Hi!
Need help! I wrote a perl script which I want start with cron from a linux system. If I start the perl script in a console, it works well. The script isn`t stored in the home directory from the user. If I run my script from the cron, there are som failures that the script doesn`t find some files, because the files are in a other directory than home directory.
Is there a possibility in kind of starting of the script to give the cron the directory, where the perl script has its corresponding files?
Need help! I wrote a perl script which I want start with cron from a linux system. If I start the perl script in a console, it works well. The script isn`t stored in the home directory from the user. If I run my script from the cron, there are som failures that the script doesn`t find some files, because the files are in a other directory than home directory.
Is there a possibility in kind of starting of the script to give the cron the directory, where the perl script has its corresponding files?