LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 11-21-2006, 10:27 AM   #16
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326

The naming restriction isn't noted in my (Fedora) documentation. However, Ubuntu probably pulls the Debian vixie-cron, and Fedora is probabaly using the Redhat patch set. Vixie-cron hasn't been maintained since 1993, so each distribution's patch set can diverge quite a bit. See this discussion.
 
Old 11-21-2006, 10:34 AM   #17
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 62
I think Ubuntu uses anacron.
 
Old 10-30-2007, 09:37 PM   #18
vegas35
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
another reason

I had a cron job that worked on Fedora, but not SuSE. Same issue, as far as being able to run it interactively, but from cron there was no output. Turns out the TERM env var wasn't set for some reason when it ran from cron.
 
Old 10-30-2007, 10:38 PM   #19
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Quote:
Originally Posted by vegas35 View Post
I had a cron job that worked on Fedora, but not SuSE. Same issue, as far as being able to run it interactively, but from cron there was no output. Turns out the TERM env var wasn't set for some reason when it ran from cron.
Could it be because there is no terminal when running a cron job?
 
Old 10-31-2007, 08:26 PM   #20
vegas35
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
Quote:
Originally Posted by macemoneta View Post
Could it be because there is no terminal when running a cron job?
My point is that I didn't have that problem on my Fedora servers, only on the SuSE box. I added a "TERM=xterm" to the top of my SuSE's crontab, and it fixed the problem. I didn't have to add that line on the Fedora servers' crontabs.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to improve my mysql backup cron job stardotstar Programming 8 05-25-2006 06:11 AM
cron backup job not running dsschanze Linux - General 9 07-29-2005 08:47 PM
How to write a script to run bitdefender antivirus as a cron job? ginda Linux - Software 1 03-10-2005 08:08 PM
shell script fo run auto job in cron JolynnMarie LinuxQuestions.org Member Intro 0 04-28-2004 11:21 AM
cron job - backup medamnit Linux - Newbie 4 05-24-2002 03:37 AM


All times are GMT -5. The time now is 10:47 AM.

Main Menu
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