Tagged Questions
1
vote
0answers
23 views
Problems with cron
I have a this code that delete some post meta at al 7:55 hour of the server:
if ( !wp_next_scheduled('borra_meta_datos') ) {
wp_schedule_event( mktime(7, 55, 0, date('n'), date('j')), 'daily', ...
1
vote
0answers
14 views
How ( and mostly at what time ) can i prevent the alternate cron from running?
I'm using the alternate cron version, but i need to prevent it from running on some calls, how can i do this?
In the cron.php file i've seen on line 225
if ( defined('ALTERNATE_WP_CRON') && ...
0
votes
1answer
170 views
How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
I'm using a cron to take data from Facebook and i have divided the job into three calls, to avoid making to many call all toghether, now how do i set up calls so that they don't overlap?
// Set the ...
2
votes
1answer
164 views
How Do I Make WordPress Run an Event Every Day?
In a plugin I want to build, it deals with contests. A contest has a date on it. Does WordPress have a feature in it where it can run a piece of code every day without requiring someone to create a ...
3
votes
1answer
118 views
Hourly WP schedule, do I need at least 1 visitor hourly?
I am planning to schedule an hourly task from my wp plugin, as I understand these tasks are triggered by visits to the website.
So for an hourly task I will need at least one visitor hourly.
Does it ...
1
vote
1answer
145 views
Scheduled event does not run at midnight
I have an event scheduled to fetch feeds from different sources at midnight. I believe for some reason it is not being triggered. I use Core Control plugin for testing. When I 'Run Now' through it, ...
5
votes
3answers
410 views
How do I log plugin (cron) actions?
Is there a recommended way to log (failed) cron actions from your plugin? For example, I have a plugin that synchronizes with an external service every hour. I want to log how much was changed, but ...