|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Frustrated, please help
Code:
#!/bin/sh $DATESTAMP = `date %M-%d-%Y` /usr/local/bin/mysqldump -ubplan01 -pmypass bplan01 > /home/bplan01/$DATESTAMP-backup.sql Ok, that runs file from the command line. Then I have my crontab file: Code:
6 * * * * /home/bplan01/backup.sh * * * * * /home/bplan01/overload.pl I get an email from crond at 6 saying : Quote:
Can anyone tell me how to fix this? |
|
#2
|
|||
|
|||
|
I'm not good at linux-scripting, but what happened if you try to run the backup.sh manually ?
|
|
#3
|
||||
|
||||
|
What does this have to do with PHP? Moving this to Linux, I guess...
---John Holmes... |
|
#4
|
|||
|
|||
|
dumb question ... is mysqldump in /usr/local/bin? maybe in /usr/local/mysql/bin/ ?
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Frustrated, please help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|