CyberPanel Community

Cyberpanel Cron Jobs not working

VL
Vishal Lohar #1

Hi,
I have disabled WordPress cron on my website and enabled server cron using Cyberpanel Cron Jobs.
At first, it was working fine but suddenly it stopped without any changes done on Cyberpanel.

I tried different URL formats but nothing worked!
wget -q -O /dev/null https://example.com/wp-cron.php
wget -q -O - https://example.com/wp-cron.php - This worked for one day and suddenly it stopped working.

I have already updated Cyberpanel and tried disabling all firewalls but nothing is working.

Can you please help?

6 replies
ge
geimsdin #2

I hope you solved it already, in case not my suggestion is to wrap the url in " and use --spider option:

wget --spider “https://example.com/wp-cron.php

Hope can help you or someone else reading this.

ge
geimsdin #3

I forgot: cyberpanel website cronjobs has a bug: after saving or modifying a cronjob you should restart the cron service or it will ignore the modification:

service cron restart

JA
Juan A #4

And if the service cron restart doesn’t work, any other ideas? We even pulled the crons out of the user cron folder and moved it under crontab and it’s still not firing. This is not a Wordpress site either, so wp-cron should have no impact.

al
alkama #6

Can you explain how to restart cron service

ge
geimsdin #7

ssh on your linux server with a sudo user (or root) and “service cron restart”.

Simone

Sign in to reply