[EMAIL PROTECTED] (Nuno Espirito Santo) writes:
>    Where is the command I gave, on a server machine:
>       >bos cr freya save2nfs cron "/usr/afsws/etc/backup dump backup2nfs 
> /full 1" "fri 17:34" -localauth

>    Everything seemed to be alright. But, when the time has come, it
> did absolutely nothing.

>    The following is the output i get in BosLog file:
>        "date": cron job save2nfs exited with non-zero code 1.

>From your description, I don't see how the backup command is being
authenticated.  The -localauth switch was given to the bos command,
allowing you to create the save2nfs instance.  If the backup command
accepted a -localauth switch, you could add that inside the first set
of quotes, but backup has no such option.

I think you'll have to create a shell script which somehow gets an
administrator's token and then starts the backup script.  There's an
example of such a script in the AFS-Contributed collection:

        /afs/grand.central.org/pub/afs-contrib/tools/reauth-example (AFS)
        grand.central.org: /pub/afs-contrib/tools/reauth-example (Anon FTP)

Joe Jackson,
AFS Product Support,
Transarc Corp.

Reply via email to