LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2006, 12:43 PM   #1
dragunu
Member
 
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
Cronjob problem. Unknown Command


i have installed an application called qstat. this basically logs how many players u got on a server etc. Now im trying to apply it with a cronjob with the following command :

0-59 * * * * qstat ( paramaters ) and its giving me Unknown command in /bin/sh.

The thing is that i can actually run qstat in the shell. ( i press q, press TAB key, and qstat forms and it actually runs so i rly dont know y its telling me unknown command in /bin/sh. )

thanks
 
Old 05-16-2006, 12:47 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Cron needs the full path to your application.

such as:

/usr/bin/qstat (parameters)

KC
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron, unknown command Buto Linux - Software 1 09-07-2005 01:09 PM
POP3 unknown authorization command matt1982 Debian 3 08-04-2005 07:40 AM
Problem with cronjob Arndt Linux - Newbie 1 04-05-2005 05:40 AM
cronjob problem chadi Linux - General 5 10-10-2004 09:09 PM
cronjob problem ashley75 Linux - General 2 05-28-2004 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration