November 24, 2024, 06:07:38 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Crontab error in RH9 Prof.  (Read 5642 times)

Offline stephen

  • Linux Learner
  • ***
  • Posts: 56
Crontab error in RH9 Prof.
« on: May 16, 2004, 01:40:04 PM »
I have configured Linux as a Data Server and there are nearly 20GB of Data in that hdd and Some Applications in that.Here i have configured Cron for backup shedule.

When the backup done from the server i checked the data of backup and i find only files are copied into the backup partition and the subdirectories are missing in the backup volume.Do you people know, what type of mistake i may done????

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Crontab error in RH9 Prof.
« Reply #1 on: May 16, 2004, 04:39:00 PM »
can u show us ur cron job script ? also script that u try to execute using cron ?

Offline stephen

  • Linux Learner
  • ***
  • Posts: 56
Crontab
« Reply #2 on: May 19, 2004, 02:27:17 PM »
O.K.
Thanks for the Suggestion Rickey....
This is an example from my cron script

Using crontab -e command i just inserted the lines..........like............


00    20     *      *      *   cp -u -a -R /vol/1rsdata /backup/rsdata

It means everyday at 8 P.M the data from /vol1/rsdata will be copied into /backup/rsdata with all subdirectories.


Thanks......................