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

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


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

(and I do have core dump file in a folder of the tool)

The second problem is I wasn't notified of the problem through e-mail. 
The above message is only to be seen in "dna_refresh.err".

Regards,
Nux / eccenux.



More information about the Labs-l mailing list