fedora-users March 2013 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: Problem with cron

Re: Problem with cron

From: Steven Stern <subscribed-lists_at_nospam>
Date: Sat Mar 23 2013 - 15:58:47 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

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?
2. Is cron working at all? Add "58 11 * * 4 touch /tmp/cron.test" as
another cron job. Does the test file date change?
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.

-- -- Steve -- users mailing list users@lists.fedoraproject.org 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