On Wed, 2002-12-25 at 21:57, Colin Jenkins wrote:
> Hi all,
> The script below works ok from the command line but when I run it as a
> cron job, it starts ok, but stops after backing up a few directories.
> Any ideas what I'm doing wrong? is it a bug with cron?
> btw, I'm using mdk9
> 
> #!/bin/sh
> smbtar -s elendil -t /dev/st0 -x "stuff1" -v -i  -X System\ Volume\ Information
> mt -f /dev/st0 offline  
> 
> -- 
> regards,
>  Colin        
> 

You might want to give ownership of the cron job to root - so that it
will run no matter what - could be that when the job hits those
directories it's "chucking a wobbly" because of improper permissions.

-- 
Thu Dec 26 05:55:00 EST 2002
  5:55am  up 20:40,  5 users,  load average: 0.04, 0.25, 0.55
------------------------------------------------------------------
|            __    __          | kühn media australia            |
|           / ,, /| |'-.       | http://kma.0catch.com           |
|          .\__/ || |   |      |=================================|
|       _ /  `._ \|_|_.-'      | stephen kühn                    |
|      | /  \__.`=._) (_       |  email: [EMAIL PROTECTED] |
|      |/ ._/  |"""""""""|     |  email: [EMAIL PROTECTED]    |
|      |'.  `\ |         |     |    icq: 5483808                 |
|      ;"""/ / |         |     |                                 |
|  smk  ) /_/| |.-------.|     | mobile: 0410-728-389            |
|      '  `-`' "         "     | Berkeley, New South Wales, AU   |
------------------------------------------------------------------
* linux user:267497 * RH 7.3+ * PC/Mac/Linux/Networking/Consulting
Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn

When you jump for joy, beware that no-one moves the ground from beneath
your feet.
                -- Stanislaw Lem, "Unkempt Thoughts"

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to