The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
96 views

Certain actions failing when run through cron

I am having a huge argument with Wordpress, and this is my last port of call before I throw the PC out of the window. I have a plugin here that exports an XML feed into Wordpress posts. The posts ...
1
vote
1answer
2k views

WP CRON on shared hosting that does not allow loopback connections?

My hosting company infrom me that they do not allow loopback connections, which are required to run the following cron task on my server. I need to run a cron task for this plugin: ...
0
votes
1answer
107 views

I'm looking for a plugin to execute a specific task a certain time

I'm looking for a plugin capable of execute a task (in my case, switch the sticky attibutte of certains) in a specific hour (for example 22:00 hrs), Anyone knows a plugin with those capabilities? ...
1
vote
5answers
1k views

Insert Wordpress page via external (cron) script?

I'm trying to write a php script that I can run out of cron to create new Wordpress pages. Unfortunately, I can't find any documentation on how to do this. I'm using the WP scripts rather than ...
2
votes
1answer
68 views

Will Wordpress use the newer schedule if it is updated using the filter 'cron_schedules'?

I learned that you can add new cron schedules by using the cron_schedules filter. If I change a interval of a schedule that I added earlier, will a job that uses this schedule be scheduled using this ...
0
votes
3answers
852 views

What causes wp_schedule_single_event to fire off?

This isn't as simple of a question as you may think. Basically I have a C# program that is hitting the worpdress site and the wp_schedule doesn't seem to fire off. If I go to the site with my firefox ...
1
vote
2answers
606 views

Auto Publish On Cron

I have some 100 unpublished posts. I want to publish 1 random post every time a cron is run. Is there a way or plugin to achieve this...
1
vote
1answer
126 views

WordPress Cron how to find out my event recurrence?

In my plugin I'm able to set a cron event like so: wp_schedule_event(time(), 'daily', 'myhookname'); But want I want to do is be able to find out what recurrence I have set for myhookname. The ...
11
votes
1answer
6k views

How to test wp_cron?

This is kind of a stupid question... I scheduled a action to run every hour: if(!wp_next_scheduled('my_hourly_events')) wp_schedule_event(time(), 'hourly', 'my_hourly_events'); ...
2
votes
2answers
656 views

Use Cron to modify posts via sql

Hi to all I need to run this twice a day: UPDATE wp_posts SET post_content = REPLACE ( post_content, '[img]', '<img src="' ); UPDATE wp_posts SET post_content = REPLACE ( post_content, '[IMG]', ...
0
votes
1answer
214 views

Any insights into Transient API locking, cron and threading?

How does one go about locking down transient API requests for multiple threading? Has anything done some benchmarking, just how much can the transient API handle for multiple concurrent requests? It ...
1
vote
1answer
2k views

Create cron job without a plugin?

Basically I wrote a function that lets me change the post status to draft depending of a field in the postmeta table: /** * Remove ads if they have been sold for over 5 days */ function ...
7
votes
3answers
6k views

How to debug WordPress “Cron” wp_schedule_event

How can I debug problems with WordPress Cron? I think it will trigger when users go to your site but any errors wont be shown to them, as the jobs are run "asynchronously". So how might I debug ...
1
vote
1answer
376 views

how to set array of args for scheduled event?

I have a scheduled event that runs twice daily in my plugin, the action is registered with add_action('fhprw_action','fhprw_check_fetch'); function fhprw_check_fetch($args){ $type=$args['type']; ...
0
votes
1answer
677 views

How to set intervals in cron jobs?

I am having a unmanaged VPS, where my wordpress site is hosted, I am also using WP-ROBOT 3 plugin for auto posting, I want it to do auto post through cron jobs, According to the documentation of the ...
2
votes
1answer
459 views

PHP5, Inheritance, Singleton - action & filter hook limitations

I'm currently working on a plugin, which uses the builtin cron functionality of wordpress. Instead of using PHP4, I want to use PHP5 with inheritance and the singleton design pattern. I run in some ...
3
votes
3answers
575 views

Refresh external feeds only in cron?

Is there an easy way to ensure that external feeds (via fetch_feed()) are only fetched via cron, and not when a regular user visits the site? This is for performance reasons, I want to minimize the ...
3
votes
2answers
1k views

wp-cron.php - How are WP's Cron transients removed?

I have a Wordpress Network that I am tasked with disabling the WP Cron and replacing it with an Apache Cron. I have set up a PHP script that when called by an Apache Cron will loop through all sites ...
0
votes
1answer
157 views

pingbacks testing

I have a few questions regarding functionality testing of PBs in a new wp installation (3.0.4): Are pingbacks sent immediately when a post is published, or are they scheduled as a cron job? If the ...
0
votes
2answers
251 views

Mail through Cron Execution, does not work!

Hey, So I've been trying to execute the mail php function and wp_mail function in a PHP function in wordpress. The php Function is called by a cron hook... The problem is, it doesn't execute the mail ...
3
votes
2answers
3k views

Transient RSS feeds in wp_options not removed automatically?

I just noticed 55.000 entries(!) in my wp_options table. I had not been there for a while. So I ran: delete from `wp_options` where `option_name` like '_transient_timeout_rss%' delete from ...
2
votes
1answer
357 views

Schedule cron event from widget

Can I use wp_schedule_event() to set up a cron job from within a widget? I tried, but I can't make it work, The problem seems to be the $hook parameter. The function I'm trying to hook is located ...
6
votes
1answer
700 views

Real automated and unattended wordpress upgrade including plugins

I'm looking for a truly automated way to upgrade wordpress and its plugins, something that i could put in the crontab and configure it to run daily. I have several wordpress plugins (>20) and a ...
5
votes
3answers
740 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 ...
1
vote
3answers
265 views

Plugin for automated upgrade of WordPress core and it's plugins?

Is it possible to get your WordPress site to upgrade itself automatically? What I mean is, when plugins etc. needs to be upgraded, can you just press a button, or have a cron job, download the new ...