On Fri, Mar 02, 2001 at 07:57:25AM +0000, Derek Harding wrote:
I wonder if anyone can give me a clue here:
I run taper to backup some directories. If I run it by hand it always works fine (running as root).
If I run unattended but actually started from the bash prompt (/sbin/taper -U @fileset) it runs OK. When run as a script which repeats the bash prompt command it runs OK.
BUT - when I have a line "27 0 * * mon-fri /sbin/taper -U @fileset" it aborts with the line that it cannot start a child process. It reads the fileset OK but simply won't complete.
Any ideas?
Try sticking your command in a file called something imaginative like crontaper. Then call it from cron. eg: 27 0 * * mon-fri /usr/local/sbin/crontaper That way cron should run the child-processes too. -- Frank *-------*-----*-----*-----*-----*-----*-----*-----*-----*-------* | Boroughbridge | Tel: 01423 323019 | PGP keyID: 0xC0B341A3 | *-------*-----*-----*-----*-----*-----*-----*-----*-----*-------* http://www.esperance-linux.co.uk/