Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 18th March 2012, 01:00 PM
manuelmarque Offline
Registered User
 
Join Date: Feb 2012
Location: Canterbury, Kent, UK
Posts: 5
linuxchrome
trouble with python script and cron

Hello all,

I've searched extensively in this forum and found no mention of a similar problem, so here goes: I have written a little Python script to randomly rotate my wallpaper (since GNOME 3 removed that ability). My first approach to it was quite silly, since I had put it running in a loop and of course that required a lot of CPU time.

Then I started looking at cron. I set up a simple call to the script (which is in my user home) every 2 minutes. Trouble is, I can see that crond effectively called it (I've been watching /var/log/cron for some time) but does not run it. (and yes, the script does run when I call it manually! )

I've tried putting it in the system's crontab (/etc/crontab) and the user's one, I've also tried to make root run the script instead of me (in case my user account is not authorised to run cronjobs...), and I even tried to disable SELinux to see if that help (it didn't).

Can you please give me a hand with this? Oh, and my machine is running the 64-bit version of Fedora 16. (no rawhide, just standard updates, I want to keep it as stable as possible...)

Best regards,
Manuel Marques
Reply With Quote
 

Tags
cron, python, script, trouble

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cron script help Jamwa Programming & Packaging 4 7th June 2011 05:18 AM
bug in apt cron script? Adrian_Hands Using Fedora 0 24th December 2007 08:25 PM
I need a script or cron job that does ... Wiles Using Fedora 1 13th September 2007 02:37 PM
help with a cron script Pulsorock Using Fedora 1 10th July 2007 07:24 AM
/etc/cron.daily/yum.cron: Error: python-devel conflicts with python < 2.3.4-13.1 productive Servers & Networking 0 20th April 2005 08:51 PM


Current GMT-time: 03:25 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat