[CentOS] crontab problem

Eero Volotinen eero.volotinen at iki.fi
Sat Nov 21 14:26:41 UTC 2009


Susan Day 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 at 13gems globalsolutionsgroup.vi <http://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.

Check that scripts are marked as executable (rx set).

--
Eero



More information about the CentOS mailing list