Re: crontab problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Nov 21, 2009 at 8:10 AM, Susan Day <suzieprogrammer@xxxxxxxxx> wrote:
> Hi;
> I have the following in crontab -eu root:
> @daily /usr/local/bin/mysql-backup-
> daily.sh
> @weekly /usr/local/bin/mysql-backup-weekly.sh
> @monthly /usr/local/bin/mysql-backup-monthly.sh
>
> [root@13gems globalsolutionsgroup.vi]# ls /usr/local/bin/mysql-*
> /usr/local/bin/mysql-daily.sh  /usr/local/bin/mysql-monthly.sh
> /usr/local/bin/mysql-weekly.sh
>
> These scripts worked on another server. The daily writes to:
> /usr/backup/database/mysql-backups/mysql-backup-dailys/
> However, a day later, nothing is there. Please advise.
> TIA,
> Suzie

What do you see in /var/log/cron? Is the cron daemon running? Is it
attempting to run the scripts?

Beyond that, it all depends on what tools are called from your backup
scripts. Are all the tools even installed on the new server? Are all
executable pathnames explicitly defined in the script? If not, then
maybe the cron environment is lacking some things in the PATH. You
also don't even say if the scripts work when run manually.

--
Jeff
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux