On Wed, 2003-07-09 at 15:58, Craig Mead wrote:
> G'day,
> 
> Explanation....
> 
> Got a cron job which runs @ 7pm every week night to backup folders in
> /home/shares (smb shares).
> When run manually (/etc/cdbackup) everything works fine, and the CD burns
> with the right datestamps on the tar files.
> 

Resolution.....

Scripting, Day One, Lesson One:

When writing a script, be sure to put full path names so that you can be
sure it'll run from cron or from a user which doesn't have the same
environment as you.

greeno

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to