I simply want to just run a command (actually its a shell script) from a given directory as a cron job. How can I run it so that it is set to a given directory without using cd.
|
feedback
|
|
Your question makes little sense. Use The simplest way would be to write a small shell script that will cd and run your main task, then cron the script. | |||||||||||||||
feedback
|
|
Just specify the path to the script. No need for
If your script looks for files in
| |||
|
feedback
|