nssbackup-team team mailing list archive
-
nssbackup-team team
-
Mailing list archive
-
Message #00635
Re: [Question #62814]: nssbackup cron job not created
Question #62814 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/62814
lastico requested for more information:
thanks Anton,
In fact, I understand it is a problem of path to execute nssbackup, so I
modified the original file (/etc/cron.d/nssbackup) to obtain this. With
this configuration i have a backup every hour :
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 * * * * root if [ -x '/usr/share/nssbackup/nssbackup' ]; then
/usr/share/nssbackup/nssbackup; fi;
So, this modification is a solution to solve my problem but i prefer
your method which consist to create a link. When i create a link with
your command i get a link named "daily' with the contain :
if [ -x /usr/bin/nssbackupd ]
then /usr/bin/nssbackupd
elif [ -x /usr/local/bin/nssbackupd ]
then /usr/local/bin/nssbackupd
fi
so the link refer to the good target but there is not any param of cron.
Must we add : 0 * * * * root ?
thanks for your help !!
ps : sorry for my low level in english but i do my best
--
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.