Originally posted by Gates1026
For cron jobs I usually just do the following:
edit a file with filename of your choice (ex: vim cronjobs)
Enter in your cron info, for example to backup my /home/<username> directory I do
30 13 * * * tar -cvf /backup/daybackup.tar /home/<username>/*
Then as root I would do # crontab cronjobs
This may not be what you are looking for, let me know if it isn't
I attempted to do this for a new file. When I executed the crontab at command line it updated my the user "root" file at var/spool/cron/tabs/root, but never executed the shell script.
Next I will try to put my backup script in the etc/cron.daily/ and see if it get's run automatically.