cronjob not running
Harris Kosmidhs
hkosmidi at softnet.tuc.gr
Fri Apr 27 12:39:41 EEST 2007
Se ena palio PC ekana anaba8mish to ubuntu se 7.04.
8elo na balo ena cronjob pou na kanei backup kapoia data. Ekana to
backupsvn:
#!/bin/sh
echo "Backing up in /net/backup" > /tmp/rdiff.svn
rdiff-backup --print-statistics /net/svn/ /net/backup/svn >> /tmp/rdiff.svn
cat /tmp/rdiff.svn|mail -s "Rdiff backup -- GATEWAY" blah at blah.gr
To bazo sto /etc/cron.daily kai to kano chmod +x
An to tre3o os root trexei mia xara kai mou erxetai mail.
Alla diaforetika to cron den to trexei ka8olou kai de mou erxetai mail.
Xreiazetai na kano kati allo pera tou na balo to script sto cron.daily?
thanks
More information about the Linux-greek-users
mailing list