[Labs-l] Problem with running PHP CLI in cron/jsub

Maciej Jaros egil at wp.pl
Sun May 11 22:53:37 UTC 2014


Legoktm (2014-05-12 00:38):
>
> On 5/11/14, 3:22 PM, Maciej Jaros wrote:
>> Hi.
>>
>> I have a problem with my cron job. The job is running bash script 
>> that cd into my tool directory and run index.php. The bash script 
>> works perfectly fine when I run it through SHH/PuTTy.
>>
>> The problem seem to be with running through cron/jsub. I get an error 
>> message like so:
>>     libgcc_s.so.1 must be installed for pthread_cancel to work
>>     /data/project/dna/dna_refresh.sh: line 8:  2652 
>> Aborted                 (core dumped) php ./index.php >> $logFile
> This is covered in the FAQ: 
> <https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Why_am_I_getting_errors_about_libgcc_s.so.1_must_be_installed_for_pthread_cancel_to_work.3F>

Thanks.

How do I make sure I get a notification of job failure?

Regards,
Nux.



More information about the Labs-l mailing list