Re: Crontab logs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith
Date:  
To: Main PLUG discussion list
Subject: Re: Crontab logs

Any idea why the error was not written to /var/log/cron ?



On 2015-07-20 15:39, Kevin Fries wrote:
> Are you certain Cent6.6 has cron enabled? Many modern systems don't
> any more since cron is going away once you transition to SystemD. In
> SystemD, whether a process starts and stays running, runs once and
> quits, or runs periodically, you simply create a unit file, and
> optionally a timer. So... don't just assume cron is running, it may
> no longer be started by default. CentOS7 will use SystemD.
>
> Kevin
> On Jul 20, 2015 4:34 PM, "Keith Smith" <>
> wrote:
>
>> Hi,
>>
>> I'm on CentOS 6.6 and created a user crontab ( crontabe -e ). I
>> added the line to run a PHP script at 36 after the hour.
>>
>> 36 * * * * /path/to/script/script.php
>>
>> Had a path wrong so it was failing.
>>
>> Was looking in /var/log/cron and it did not show the error.
>>
>> What am I missing?
>>
>> Thanks!!
>> Keith
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss [1]
>
>
> Links:
> ------
> [1] http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
Keith Smith
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss