Crontab logs
Keith Smith
techlists at phpcoderusa.com
Tue Jul 21 19:45:06 MST 2015
I'm not following. What are you saying? Please elaborate. Thanks!!
On 2015-07-21 19:14, George Toft wrote:
> Probably because it went into the mail?
>
> Regards,
>
> George Toft
>
> On 7/21/2015 3:28 PM, Keith Smith wrote:
>>
>> 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" <techlists at phpcoderusa.com>
>>> 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 - PLUG-discuss at lists.phxlinux.org
>>>> 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 - PLUG-discuss at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
--
Keith Smith
More information about the PLUG-discuss
mailing list