[CentOS] Exists some problem with cronjobs under CentOS7

Wed Oct 14 12:53:59 UTC 2015
Johnny Hughes <johnny at centos.org>

On 10/14/2015 04:36 AM, C.L. Martinez wrote:
> On 10/13/2015 04:44 PM, zep wrote:
>>
>>
>> On 10/13/2015 09:54 AM, C. L. Martinez wrote:
>>> I haven't entries in conrtab's users file at this moment, but I have
>>> done a test: * * * * * ls -la, and it is not triggered. But like I say
>>> before, installed system cronjobs like logwatch task are not triggered
>>> ... _______________________________________________ CentOS mailing
>>> list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos
>>
>> I'd say that crontab doesn't actually prove that the job isn't being
>> triggered, it just proves there's an email config/sending/something
>> problem.
>>
>> if you change that to to something like
>>
>> * * * * * touch /var/tmp/cron-test-file
>>
>> does it create and keep changing the date on the file?
>>
> 
> Nothing ... There is not cron-test-file under /var/tmp ...

Try it will /usr/bin/touch .. you may not have environment variables
like PATH set.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20151014/0af78ab3/attachment-0004.sig>