Originally Posted by ajeetraina
I have a script called svn-fullbackup.sh placed at /etc/cron.daily directory.I want it to run everyday at 11:30p.m.What changed I need to make in crontab file or else other so that I can enable the backup process everyday.It seems that placing the file under cron.daily is not taking the backup.
First, make sure the script is executable:
chmod +x svn-fullbackup.sh
Then place it somewhere (I use /usr/local/sbin for things like that).
Remove the copy in /etc/cron.daily (that will run at 4:30am I think).
Edit your cron jobs:
This will make it run at 11:30pm:
30 23 * * * svn-fullbackup.sh
Save and exit (most likely you're using vi, so you may want to grab a quick reference for it's commands).
That should get you running!