Skip to main content

All Questions

Tagged with
0 votes
0 answers
25 views

Cron to fire function in WordPress Plugin - wc_rest_set_uploaded_image_as_attachment not loading images

Currently the function will complete with out problems via a button on the admin side / plugin folder. Products information updates as expected but the image fails only via Cron, Throwing internal ...
Admin Grocorp's user avatar
0 votes
0 answers
15 views

Email was delayed in WP project

I have a WP project that have several cron jobs such as sending email to admin's email address everyday. This email is a kinda reports of the website so it's a bit important for me. I am currently ...
Hot Coding's user avatar
1 vote
1 answer
101 views

Create a cron job to update Woocommerce products stock status based on custom fields

I'm trying to create a cron job that will compare a date set as product metadata to the current date, then update the product stock if the date set as product metadata has passed. Here's what I have ...
JapeNZ's user avatar
  • 103
0 votes
0 answers
35 views

How to log cron errors in WordPress?

I am having issues with my WordPress cron jobs failing at times and there being no logs written to error_log. I'm on a Bitnami WordPress instance if it matters, mostly default settings. It doesn't log,...
Leol0's user avatar
  • 1
0 votes
1 answer
41 views

Executing shell script with a cron job

I can't execute a shell script with a cron job on WordPress (knowing that I can't use crontab). I can execute it with 'sh my_script.sh', but not with a cron job. I've tried various scripts like this: /...
mat4's user avatar
  • 1
1 vote
2 answers
43 views

Extend function execution on product update via a Cron Job or REST_API

Is it possible to execute this php function when product is updated via Cron Job or REST_API? Cron JOB is updating _stock2 meta field, and rest_api is updating basic stock quantity of woocommerce ...
Eryk Paśnik's user avatar
0 votes
1 answer
83 views

SiteGround with WordPress - CRON "Could not open input file" error

I have a WordPress site on SiteGround and have set up a CRON job using SiteGround's Cron Jobs tool. I need to execute this file twice every hour: /home/*********/public_html/*****/mycoolfile.php ...
enigma65.0's user avatar
1 vote
1 answer
176 views

How to schedule a cron script to run every hour? rather than every time someone visits the site?

My resources are being reached and maxed out. I got recommended I run a cron job every hour. My question is, what cron job script do I enter? I disabled DISABLE_WP_CRON and I am expecting my website ...
Edgar Espinosa's user avatar
1 vote
1 answer
27 views

Cron Job WordPress: Doesn't Work in a Custom Plugin

I created a plugin for generating a CSV using the custom fields of certain pages. The generation of the CSV file must occur either by clicking on a button (and this works correctly) or by a cron job ...
Dev Mania's user avatar
0 votes
0 answers
105 views

Using external cron jobs on Hostinger

I’ve used the same cron job on an external provider through every host before Hostinger. Since I moved my site there, I’ve gotten more failed job errors than the job properly executing. Because my ...
Serena Z's user avatar
0 votes
0 answers
62 views

async wordpress thumbnails generations only after save post

I have a wordpress site with woocommerce, each product has many images (10-15) and each original image is 1-2 MB. these dimensions are necessary for the purposes of the sector of this site. Every time ...
gassiopea's user avatar
0 votes
0 answers
150 views

Triggering individual WordPress scheduled actions via wp-cli and (non-WP) cron

I'm writing a plugin that performs several actions, one of which is a complex routine that parses and imports a large Excel spreadsheet (don't ask). I want this routine to run as a background task, ...
brettkelly's user avatar
-3 votes
1 answer
205 views

Create Cronjob for wordpress plugin [duplicate]

I have created a plugin to import products to WooCommerce, what I want to do now is create a cronjob for it. But all that I have tried does not work. This is the code I used: function ...
Gas Test's user avatar
0 votes
0 answers
33 views

Auto send REVIEW REQUEST email with ACF via Cron Job

I have created a code to auto send booking emails after a booking status is updated. Depending on the booking status, a certain e-mail text is called. This function works perfectly so feel free to use ...
Yorlinq's user avatar
  • 131
1 vote
1 answer
105 views

Wordpress core function in custom hook

I developed a plugin that sends a report by email with plugins to update. For this I use the function Wordpress get_core_updates(). Everything works with the hook admin_post_ when I do a manual ...
madcoc5's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
30