Cron Job... Urgent
I have to do a cronjob on linux box.
The process are as below:
1. Cron job should dump postgres database to file.
2. Tar the dump file.
The problem is the database dump will take about 1 hour to dump complete.
The tar should take place once the dump is completely finish.
How do I make sure tar of the file takes place's after the database dumped completely?
Please help, its really urgent.
Regards,
ganesh
|