LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-16-2004, 03:17 AM   #1
dani81
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Rep: Reputation: 0
Script doesn't run in crontab


Quote:
I made a script wireless.sh and when i start it from bash is works. But when cron wants to start it, it doesn't work !

telnet xxx.xxx.xxx.xxx

su

/root/wireless.sh <- works

crontab -e

17 * * * * /root/wireless.sh

doesn't work!!!
I discovered that 1 line in wireless.sh doesn't execute and when i put it directly in crontab is also doesn't work.

/root/mgen3.2a1/mgen -i xl0 /root/mgen3.2a1/gscript & (@bash it works)

1 * * * * /root/mgen3.2a1/mgen -i xl0 /root/mgen3.2a1/gscript & (doesn't work)

I have another Freebsd pc and on this pc it is not a problem
 
Old 11-16-2004, 04:42 AM   #2
dani81
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Ok i got It already myself:

In gscript i haven a line:

00000 1 ON 224.225.0.8:5000 PERIODIC 20.0 9216

In some strange way, crontab can't handle the byte size of 9216. If i bring it back to 8192, it works!! I don't know why, but I am glad it works again
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What does the run-parts mean in crontab? mTorbin Linux - Newbie 15 04-27-2012 04:53 PM
my database export shell script run from command line but not form crontab saifee Linux - General 11 01-29-2012 10:24 AM
Crontab -e doesnt run my script ! c0nsur Linux - General 4 08-04-2005 12:21 AM
crontab failure: permission denied trying to run script hedpe Linux - Software 5 05-03-2005 08:07 PM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 10:34 AM


All times are GMT -5. The time now is 06:48 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration