db backup script in gentoo
I ran db backup script in gentoo from command line (works ok).
This is my script (/scripts/dbbackup): Quote:
This is my crontab script: Quote:
|
Quote:
Code:
#!/bin/bash Quote:
Please tell us how it doesn't work. What do you do to check it? What does it do? What error messages do you get? |
Hi mate,
When I want to run crontab dbbackup from command line I keep getting an error: Quote:
Crontab script: Quote:
Quote:
|
I'll be thankful for any help.:confused:
|
I'm pretty sure you have to specify when in the day to run as well as what day... something like
Code:
# Run at midnight on Monday You could then ln -s from that file to /etc/init.d, and from there to /etc/rcX.d to execute the script on startup |
Hi,
I've copied a dbbackup.sh to the user home and change crontab to: Quote:
Some problems: 1. I don't have /etc/rcX.d. 2. When I run crontab dbbackup from command line I'm still getting an error: Quote:
|
All times are GMT -5. The time now is 03:59 AM. |