Cron job

Hi,

I tried to create cron job from admin panel of cyberpanel but it is not working

I have tried below

          • /usr/bin/php /home/crm.zsellers.com/public_html/vtigercron.php
          • bin/sh /home/crm.zsellers.com/public_html/cron/vtigercron.sh
          • /usr/bin/php -q /home/crm.zsellers.com/public_html/vtigercron.php
          • /usr/bin/php -f /home/crm.zsellers.com/public_html/vtigercron.php
          • /php /home/crm.zsellers.com/public_html/vtigercron.php
          • /php -q /home/crm.zsellers.com/public_html/vtigercron.php
          • /php -f /home/crm.zsellers.com/public_html/vtigercron.php
          • /home/crm.zsellers.com/public_html/vtigercron.php

Please help me in this .

Thanks in advance

If you run this job manually from command line it works?

I have add the cron job but didn’t work

I am having this same issue.

I use the ‘cyberpanel admin > website > cron jobs’ to add a list of cron jobs for a specific website and they do not run. If I add them using crontab -e and they work fine. It appears the admin panel is not running the cron jobs.

I’m running version 1.8.1 on Ubuntu via DigitalOcean.

Cron jobs added from CyberPanel runs as a website user, so may be due to permissions it is not running.

Make sure the command runs as the website user. You can find website user using ls -la /home and then do su user and try to run your cron command and see if there are any permission issues.

Thanks for the response. Yes, that was it. It was a permission issue.

Hi,

I tried to create cron job from admin panel of cyberpanel but it is not working

I have tried below

          • /usr/bin/php /home/crm.zsellers.com/public_html/vtigercron.php
          • bin/sh /home/crm.zsellers.com/public_html/cron/vtigercron.sh
          • /usr/bin/php -q /home/crm.zsellers.com/public_html/vtigercron.php
          • /usr/bin/php -f /home/crm.zsellers.com/public_html/vtigercron.php
          • /php /home/crm.zsellers.com/public_html/vtigercron.php
          • /php -q /home/crm.zsellers.com/public_html/vtigercron.php
          • /php -f /home/crm.zsellers.com/public_html/vtigercron.php
          • /home/crm.zsellers.com/public_html/vtigercron.php

Please help me in this .

Thanks in advance

If you run this job manually from command line it works?

Hi,

Can you please help me how to run this job manually from the command line ?