LinuxQuestions.org
Review your favorite Linux distribution.
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 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: 344Reputation: 344Reputation: 344Reputation: 344

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: 65
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: 344Reputation: 344Reputation: 344Reputation: 344
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



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

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

All times are GMT -5. The time now is 08:53 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