Version 1.2 of WP-Cron is now officially available.
This version fixes a small error with calculating when the next daily event should occur. Daily actions should now actually occur! =)
Also included with this version is an updated wp-cron-moderation.php, which sends hourly notifications of new comments awaiting moderation.
Here's the list of all WP-Cron plugins included:
WP-Cron Dashboard: uses WP-Cron to update the data in your WordPress dashboard (roughly) every hour.WP-Cron Future Pings: suppresses outgoing pingbacks and trackbacks when publishing a post with a date in the future; then uses WP-Cron to periodically check if any such future-dated posts are visible, sending pingbacks and trackbacks as necessary.
[ May not yet be fully functional ]WP-Cron Gravcache: refresh your cached Gravatar image files on a daily basis.
[ Experimental, and may not yet be fully functional! ]WP-Cron Mail: periodic check of your secret email account for blog-by-email. This is a near exact copy of the original wp-mail.php, which may or may not be sufficient for your needs. See also http://codex.wordpress.org/Blog_by_EmailWP-Cron Moderation: sends an hourly email summary of new pending moderation requests. That is, if you get two new comments at noon, you'll receive one email notififying you. If you take no action, and receive no new comments, you will not get pestered again. You will only receive one email per new comments per hour.WP-Cron Reminder: sends out a generic reminder email to the blog admin (roughly) every 15 and 60 minutes. You can use this to prove to yourself that WP-Cron is working.
[...] If you also have WP-Cron installed, you’ll be able to schedule daily backups of your database, sent direct to your Inbox! [...]
[...] [...]
[...] Éste plugin también puede combinarse con el plugin wp-cron para programar las copias de seguridad y que éstas se realicen automáticamente. [...]
Skippy,
I started using WP-Cron Moderation last night. One little problem I've encountered is I receive the Please Moderate email after I approve that comment.
I also get the new comment has been posted email at this time. This second email I'd expect to get.
Nick: I don't fully understand what you're saying in the first instance. Could you elaborate please?
I thought it was a bit confusing when I wrote it. I have some addition info now too.
Here are two different things that are happening...
1) I get the email from the plugin on the hour (if there are comments to moderate). After approving a comment, I then get an email (from WP) telling me the comment I just approved is in moderation. I also get the email (from WP) telling me a new comment has been posted. I don't think I'm supposed to get the email telling me there is a comment waiting for moderation, am I? Especially since I just approved it.
2) I get an email from WP about a comment in moderation (which shouldn't happen right?). Then on the hour I get a summary of those comments waiting for moderation.
Sometimes situation #1 will happen and later #2 will happen.
I hope that makes sense. If not, let me know.
...more to throw in the mix...
I just received 2 emails from the plugin with only 3 minutes in between.
skippy,
Might I make a small suggestion to make things tidier? Can you please consider putting your plugins into a sub-folder to keep things tidy?
WP will "see" plugins in a sub-directory within plugins.
[...] Ну вот, пока мы тут ручками бэкапы писали, люди уже написали соответствующий плагин для Wordpress. Бэкап делается, естественно, только wordpress-овской базы, и, чтоб можно было это дело зашедулить, надо еще и WP-Cron поставить. [...]
[...] WordPress to the rescue! There’s a WordPress Database Backup Plugin that can easily download or email database backups to you, and when tied with WP-Cron (a cron-like plugin for automating stuff), it’s fully automatable! I now have daily database backups gzipped and emailed to my GMail account for safe keeping. [...]
Just my 2 cents...
There is only one file for each plugin. Adding a folder to hold a single file isn't very tidy if you ask me.
Nick: I think Brendan is suggesting that all WP-Cron plugins get stored in a /wp-cron/ directory inside your /plugins/ directory. It's a good idea, and I'll look into it.
[...] Eine Lösung: Das Plugin WP-Cron ist ein Pseudo-Cron-Ersatz. Mit WP-Cron kann man also den Aufruf der Postie-URL automatisieren, ohne einen externen cron-job aufzusetzen. [...]
[...] to automate the backups. No responses to 'backup there sonny'. RSS feed for comments and Trackback URI for 'backup there sonny'. Leave aComment [...]
[...] This is a test post to see if the PHP-based WP Cron will successfully grab an email from my POP3 account, parse it, and then post it to this site via XMLRPC. [...]
[...] Anlässlich der “WordPress Backup Woche” habe ich mich mal nach einem Plugin umgesehen, mit dem man recht einfach ein schnelles Backup der Datenbank machen kann. Dabei bin ich auf folgendes Plugin WP-DB-Backup von Scott Merrill gestoßen. Leider liegt das Plugin nur in Englisch vor, so dass ich mal die Sprachdatei übersetzt habe. Nun ist das Gesamtbild einer deutschen WordPress-Oberfläche doch etwas schöner, auch wenn das Englisch recht einfach ist. Zusätzlich kann man das ganze noch automatisieren, in dem man das Plugin “WP-Cron” von Scott Merrill nutzt. So kann man beispielsweise täglich eine Mail mit der Sicherung der Datenbank bekommen. Das Plugin kann aber noch weitaus mehr. wp-db-backup-de_DE.po wp-db-backup-de_DE.mo [...]
[...] Já tentou utilizar alguma ferramenta/plugin para o seu blog wordpress, mas esta ferramenta/plugin exigia o uso de CRON JOB ou CRONTAB e sua hospedagem (como a minha) não oferece tal funcionalidade? O plugin WP-CRON acaba com esse problema, veja o que esta ferramenta pode oferecer: Este plugin fornece um suporte rudimentar para execução de ações pré-determinadas; um tipo de processo “delayed action” (”ação atrasada” em termos simples) para WordPress. [...]
[...] [...]
[...] Peace of Mind. would I lose everything if the servers went down? Install WordPress Database Backup 1.6, as well as WP-Cron 1.2, and your WordPress database tables gets backed up and emailed nightly (in my case, to my Gmail account). Brilliant work, Skippy & Owen. [...]
[...] Now, there’s two ways to do this, manually setting up a CRON job, which is more trouble than a lot of people want to deal with, or you can download these handy WordPress plugins, WP-DB-Backup and WP-Cron written by Scott Merrill. Thanks Scott! Download both plugins, unzip and upload them to your WordPress plugins folder and then activate them on your WP plugin management page. You’ll notice WP-Cron comes with a whole bunch of different plugins. Just activate the ones called WP-Cron and WP-DB-Backup. [...]
[...] Download the latest version of WP-Cron 1.2 - Quick Download for version 1.2 - copy the WP-Cron XXX files (7 of them) into your PLUGINS directory [...]
[...] Install WP-Cron to schedule daily backups of my WordPress database [...]
how can I add a specific function to wp-cron?
i.e. when I want to run a specific .php on my website?
kind regards,
Tim
Tim: The easiest way to execute a standalone PHP script with WP-Cron is to make a plugin that
include()s it, like this:[...] Existe una pequeña desventaja al programar un post, y es que normalmente WordPress no enviará el ping de notificación a los servicios para dar aviso de la actualización de tu weblog; sin embargo existe un plugin diseñado específicamente para esto: se trata del WP-Cron Future Pings, parte del paquete WP-Cron, un conjunto de plugins que ejecutan acciones programadas en WordPress; su instalación y activación es igual que cualquier plugin para WordPress. [...]
[...] 使用WP-DB-Backup插件对数据库进行备份,前提是你需要安装另一个插件WP-Cron。 [...]
I am getting 2 'argument should be an array' errors on the bottom of my page when running the cron-moderation after receiving a spam comment. The errors went away when I nuked the spam comment. I have not received a 2nd spam message to see if it occurs when there are more than 1 item in the $queue 'array'
Any ideas?
`Warning: array_values(): The argument should be an array in /mysite/wp-content/plugins/wp-cron-moderation.php on line 27`
`Warning: array_unique(): The argument should be an array in /mysite/wp-content/plugins/wp-cron-moderation.php on line 27`