문제

how to call hhvm in cron jobs ?

In crontab I added given below line

*/30 07-22 * * * /usr/bin/hhvm  /var/www/cronjob.php

when i do ps aux | grep cron | grep -v grep

root       960  0.0  0.0  25804  1140 ?        Ss   12:30   0:00 cron

ubuntu    3926  0.0  0.0   4440   624 ?        Ss   15:30   0:00 /bin/sh -c /usr/bin/hhvm   /var/www/cronjob.php

ubuntu    3928 92.6  1.8 590156 71420 ?        R    15:30   0:43 /usr/bin/hhvm  /var/www/cronjob.php

why there were two entries and its hanging for ever ? please help me to understand and fix the issue

도움이 되었습니까?

해결책

Due to data volume it took long time to finish the job, no issues actually

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top