Re: Problem with cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/23/2013 08:58 AM, Steven Stern wrote:
On 03/22/2013 03:16 PM, Joe Zeff wrote:
I have my computers registered with the Linux Counter, and my main
desktop machine is supposed to update its status once a week, using a
cron job:

# added by lico-update.sh version 0.3.14
58 11 * * 4 /home/joe/bin/lico-update.sh -m

The permissions on the script are right, and if run manually, it works.
  This worked fine under Fedora 16, but doesn't now that I'm running F
17.  Does anybody know what's happened, or how to find out?

A couple of thoughts:
1.  Does the script have executable permissions?

Already answered in what you quote.

2.  Is cron working at all? Add "58 11 * * 4 touch /tmp/cron.test" as
another cron job. Does the test file date change?

An interesting possibility.

3.  Just for laughs, check the SELinux logs to see if there's an AVC. It
may be that the script that created and installed the file didn't set
the selinux permissions correctly.


I'm not getting any alerts, and if that were the issue, I would. And, if you'd like to examine the script, you can find it here: http://linuxcounter.net/script/lico-update.sh
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux