Cpanel Cron operation

Pending

Import WP Updated 7 hours ago 8 Replies

Muenker asked 2 days ago on February 20, 2025 at 5:54 am

Hello,

I manage WordPress Crons via Cpanel. Therefore, Import WP Pro does not work automatically as scheduled. How can I trigger it with Cpanel Cron operations?

J

James replied Support Agent

1 day ago on February 20, 2025 at 9:09 am

Hi,

You just need to edit the cron job and change it to run every minute (instead of the default every 30 minutes).

James

MA

Muenker replied

1 day ago on February 20, 2025 at 10:50 am

Hello,

 

I am currently running WordPress's general cron URL like that. But there is no log in the Plugin's History section that it is working.

J

James replied Support Agent

1 day ago on February 20, 2025 at 1:58 pm

Just to confirm, have you followed the wordpress cron setup: https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/

MA

Muenker replied

1 day ago on February 20, 2025 at 2:28 pm

Yeah,

I use it as follows.

30****wget -q -O /dev/null "https://example.com/wp-cron.php?doing_wp_cron"
J

James replied Support Agent

1 day ago on February 20, 2025 at 2:36 pm

Based on your previous image, you have set the importer it to run hourly at 10 past.

But your cpanel cron runs once an hour at 30 past (i would recommend changing the cron  "* * * * *", to run every minute, as wordpress has a lot of tasks to run as well as a the import task, which may require to be hit multiple times depending on how many records you have.

James

MA

Muenker replied

11 hours ago on February 21, 2025 at 7:24 am

Hello,

Even though I set it as you said, it did not trigger. Can we write a function to make a URL that will trigger it specifically?

MA

Muenker replied

10 hours ago on February 21, 2025 at 8:18 am

Actually it has started, I apologize. It just threw a timeout. I think cron is running from cpanel, so it may not be active for the duration of the import? How can we extend this time?

J

James replied Support Agent

7 hours ago on February 21, 2025 at 10:50 am

Did you set this up in cpanel to run the cron every minute? if not you need to.

 

As the waiting for cron of 2800s suggests it has been a while since your wordpress cron ran.