Always use full pathnames to commands in cron scripts. Change the lines to
include the full paths for chown and chmod.
-Derek
At 09:31 PM 1/16/2007, Don O'Neil wrote:
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?
Specifically, I have a script that looks for files on a NFS mount point and
copies them across and changes the ownership/perms.
Here's the gist of the script:
On Tue, Jan 16, 2007, Don O'Neil wrote:
Anybody have any clues why a shell script run from root's CRON would act
differently then when run directly from the command line?
Most often this is because the environment in the cron job is
different, either missing variables or having variables that