LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Fedora unable to schedule scrip (https://www.linuxquestions.org/questions/linux-general-1/fedora-unable-to-schedule-scrip-677430/)

pete44904 10-18-2008 03:00 PM

Fedora unable to schedule scrip
 
I am trying to schedule a script to run once a week via cron the command i'm using is. 59 5 * * 5 /backups/scripts/backup.sh but after i run the command i get the following error:-

-bash: 59: command not found

I have checked and cron is installed, i have tried to search the internet for a solution but couldn't find one


I'm a newbie when it comes to Linux so i would really appreciate any help.

Total-MAdMaN 10-18-2008 03:07 PM

Quote:

Originally Posted by pete44904 (Post 3314899)
-bash: 59: command not found

The above means it can't find the program "59", not the cron program. You have the format of the command incorrect.


All times are GMT -5. The time now is 03:07 PM.