LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2008, 03:00 PM   #1
pete44904
LQ Newbie
 
Registered: Aug 2006
Posts: 12

Rep: Reputation: 5
Smile 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.
 
Old 10-18-2008, 03:07 PM   #2
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by pete44904 View Post
-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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Schedule Tasks Using Gnome-schedule (cron & at GUI) LXer Syndicated Linux News 0 07-28-2007 12:31 AM
deleting in a .pl scrip knowram Programming 3 03-09-2007 09:51 PM
Schedule Package Updates Fedora Core 6? Funkester Linux - Software 2 01-26-2007 11:10 AM
Scrip to bootsplash hraposo Debian 3 01-09-2007 06:21 PM
help with scrip tuananhbirm Linux - General 4 02-04-2005 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration