Re: Exists some problem with cronjobs under CentOS7

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



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@xxxxxxxxxx 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.


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux