Plugin: WP-Cron

WP-Cron is a plugin to support periodic execution of actions / plugins / stuff! From the readme:

WP-Cron provides a rudimentary support for scheduled exection of actions; a sort of “delayed action” processing for WordPress. It is nowhere near as robust as the actual UNIX cron facility, but should be good enough to “do stuff” on a fairly regular basis.

What with human beings, search engine spiders, and content aggregators, we can be fairly sure that even the most uninteresting (public) blog will be visited with some regularity. WP-Cron relies on this regularity to schedule the execution of three new plugin hooks. These hooks execute roughly once every fifteen minutes, every hour, or every day.

Included in the download are three example plugins to demonstrate how to use WP-Cron:

  • wp-cron-dashboard: uses WP-Cron to update the data in your WordPress dashboard (roughly) every 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.
  • wp-cron-future-pings: suppresses the default ping and trackback action when you post a new item dated in the future. Then (roughly) every 15 minutes the plugin checks to see if any future-dated posts are now visible to readers. If they are, the pings and trackbacks are sent! (note: wp-cron-future-pings requires WordPress 1.5.1.1 to work properly: see changeset 2604)
  • wp-cron-mail: a plugin version of the wp-mail.php script, written to use WP-Cron to support blog-by-email.

Download WP-Cron 1.1a!
Note: I dropped the revision on this version back to 1.1a, in order to make it easier for me to manage version numbers at the WordPress Plugin repository.

Follow developments of WP-Cron here!


121 Responses to Plugin: WP-Cron

  1. 780 Novac 2005-06-11 19:06:21

    My server runs on Winblows XP (don't ask). Does this plugin require a *nix environment?

  2. 781 skippy 2005-06-11 19:08:18

    Novac: there is nothing *nix-specific about this plugin. If you can run WordPress, you should be able to use this plugin!

  3. 771 Martin 2005-06-13 11:17:55

    Hi there,

    Been playing around a bit with your plugs, so far they've been a breeze to figure install - no problems what so ever.

    I have a quick question about the wp-cron-mail.php.
    How often does it refreash; and how can I change the rate it does so?

    Thanks, your a lifesaver!

  4. 770 skippy 2005-06-13 11:34:22

    Martin: By default, wp-cron-mail executes roughly every fifteen minutes. If you'd like to change this to run roughly once per hour, change line 14 from:
    add_action('wp_cron_15', 'wp_cron_mail');
    to
    add_action('wp_cron_hourly', 'wp_cron_mail');

    If you only want once per day, change hourly to daily in the line above.

  5. 768 Martin 2005-06-13 11:53:05

    Perfect, works like a charm!
    Thanks for the fast reply.

    Cheers from Tokyo

  6. 879 west north 2005-06-19 05:25:13

    Photoblog

    This is not really turning into a cameraphone photoblog, but Flickr's upload-by-email makes it ridiculously easy to send posts from, oh, a street corner or a nightclub or anywhere. I'm pondering switching to WordPress later this summer, which support...

  7. 909 Indulge 2005-06-23 13:58:23

    I just uploadet you wp_cron and wp_mail. It doesn't seem to do anything. Do I have to upload all files in the package or is cron and mail enough. I want to use it just to put my emailed posts into WP.
    Is there something else to configure or should the job run by itself as soon as the Plugin is activated?
    Thanx :-)

  8. 915 skippy 2005-06-23 18:07:03

    Indulge: you need to configure your blog-by-email settings, in Options -> Writing. Then you need to make sure someone is visiting your blog at least every fifteen minutes. If no one is actively requesting your RSS feed, or if you don't have many visitors, WP-Cron won't trigger as frequently.

  9. 934 Isice Blog » WP-Cron 1.2 2005-06-25 18:39:03

    [...] 83; Filed under Blog_WordPress, plugins, Isice0819 post by Isice0819 http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/ Permalink [...]

  10. 973 Fyse 2005-06-30 15:58:44

    This isn't really under your remit, but I thought you might be able to advise? I'm setting up posting via email, and before trying your wp-cron plugins to automate it, I tried by pointing my browser to http://fyse.floatingface.com/wp-mail.php, but only got the error message...

    Ooops POP3 connect: Error []

    I double checked my settings, and everything seems to be in order. I'm using a Gmail account, and I'm worried it might be because Gmail requires SSL connection. Is that a possibility?

    Thanks!

  11. 970 skippy 2005-06-30 16:11:41

    Fyse: you nailed it. The current wp-mail.php does not speak POP3-over-SSL.

  12. 975 Fyse 2005-06-30 16:25:48

    Bother. Better find myself another POP3 account then.

    Thanks anyway!

  13. 1045 Katie Dixon 2005-07-11 22:42:26

    This plugin is incredible! Thank you so much for this, it has really made things much easier for the WordPress sites that I maintain.

    Thanks again and keep up the great work :D

  14. 1046 skippy 2005-07-11 22:50:35

    Katie: I'm glad you like it! Stay tuned -- I've got some more WP-Cron enabled plugins coming soon!

  15. 1175 Mimos blogg » Blog Archive » Har jobbat på bloggen i det dolda 2005-07-22 06:37:17

    [...] Fixar ett mailkonto på mobilen Började med att ordna ett mailkonto på mobilen. Testade sen att maila mig själv, funkade hur bra som helst! Sen började problemen, behövde inte läsa många rader förrän jag förstod att jag kunde glömma det här med mail. Use one of the following options: * Use your web browser to view http://yourwebdomain/installdir/wp-mail.php immediately after you send an email to your posting address. * Use the WP-Cron (http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/) WP-Mail plugin. * Set up a cron job to periodically view http://example.com/installdir/wp-mail.php using a command-line HTTP agent such as wget, curl, or GET. [...]

  16. 1228 DruNok 2005-07-29 18:53:52

    I'm trying to get your wp-cron-mail.php to work. I uploaded everything to the plugin dir like your readme.txt says to and activated. I have everything set under options> writing. What else do I need to do?? I know I'm very new at this but I can't think of what else to try.

  17. 1231 skippy 2005-07-30 00:25:23

    DruNok: this might help: Blog by Email.

  18. 1230 Upgrading, a bit : a wolf angel is not a good angel 2005-07-30 14:09:53

    [...] I am in the process of upgrading and finally figuring out the stupid blog-by-email that never worked for me before. I’m at 1.5.1.3, and it seems to be working correctly with all my changes saved, so now I’m downloading WP-Cron (since I do not intend to figure out how to do a cron job yet) so it will automagically check for emails to my secreter-than-secret email address. Here’s hoping. [...]

  19. 1240 Jason Golod 2005-08-02 19:01:28

    Skippy, you are a good man. The plug-ins worked right out of the box and the readme had it all. I just put it on my mother's site so that she can update the properties from her real estate company at www.ruthgolod.com. So, mom thanks you as well.

  20. 1259 dillydante » Blog Archive » Wordpress Modding 2005-08-04 00:07:04

    [...] Also installed WP-Cron so that this can be done automatically [...]

  21. 1272 Baffled 2005-08-04 19:04:32

    I did everything---up to a point--on the Blogging By E-mail page on the WP site...and I can view my message when I go to wp-mail, but the post does not appear on the blog.

    What I don't understand are the instructions:

    Cron Job Activation
    Set up a cron job to periodically view http://example.com/installdir/wp-mail.php using a command-line HTTP agent like wget, curl or GET. The command to execute will look like:

    wget -N http://example.com/installdir/wp-mail.php

    If you use a different program than wget, substitute that program and its arguments for wget in this line.

    I don't know what they mean by "cron job activation", don't know what "wget", "curl", or "GET" are. I don't know what file I'm supposed to put that line of code into--or where in the file it goes. What and where do I need to edit? The wp-mail.php file? One of the wp-chron files? I only activated wp-chron and wp-chron-mail because I just want to try out blogging by e-mail. Shoudl I have activated others?

    The reference link for cron job on the WP page takes me to a site that doesn't have anything about cron jobs on it! :-(

    Thanks for your help

  22. 1274 skippy 2005-08-04 19:14:46

    Baffled: cron is a UNIX utility for executing scheduled tasks. The links in the blog by email instructions take you to information about the UNIX cron command.

    My WP-Cron plugin is a cron-like system, which operates strictly in WordPress. If you've installed the WP-Cron plugin, then you're done. Every 15 or twenty minutes, view your site. WP-Cron will occasionally be triggered, and your email submissions should be posted.

    Let me know if it doesn't work for you!

  23. 1275 Baffled 2005-08-04 19:15:26

    I followed all the instructions on the WP Blog By E-mail page---up to a point, but they lost me with "cron job activation". I don't know what they mean by that, nor do I know what "wget", "curl" or "GET" are. They give a line of code that must be inserted into some file, but do not say what file. wp-mail? wp-cron? wp-cron-mail? The link they give for more info on cron jobs takes me to a site with no information on cron jobs. :-(

    When I go to wp-mail I can see my test message. It's been nearly 45 minutes but the message isn't in my blog. I only activated wp-cron and wp-cron-mail. Should I have activated the others? I just want to blog by mail.

    Which files do I edit for the "cron job"? And where exactly do I insert that line of code?

  24. 1276 Baffled 2005-08-04 19:49:45

    Sorry about the double post: I reposted when the first one didn't appear.

    The post still isn't appearing on the blog. However, I have now gotten four messages in my e-mail from Apache with the subject: wp-mail complete with the text of the message & a lot of trash because I'd embedded an image.

    I don't know if this is relevant, but the blog is on a site in a password-protected directory. Though it seems like if that was going to create a barrier for posting that I wouldn't be seeing the message in wp-mail or getting the repeated Apache notifications. (How do I make it stop that? Am I going to get 4 e-mails an hour forever??)

  25. 1277 Baffled 2005-08-04 20:55:26

    YIKES! The message has been posted, but not like I thought. Suddenly at the bottom of the page I got:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm not sure if it = will work since everything is in a password ]

    Followed by what looked like more error-handling code, then the message, then trash code where the picture was then:

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT category_id FROM wp_post2cat WHERE post_id =

    But now, I've gone back to the page and it's GONE (thank goodness!). Why did I get that mess at the bottom of the page? Why not before now? Why is it gone? What's the best way to wipe out that message and start over?

  26. 1278 skippy 2005-08-04 22:18:14

    The problem is that you used a quotation mark in your post, and wp-cron-mail isn't sanitizing the submitted data to properly escape the quotes.

    I'll try to get a revised version out shortly.

  27. 1279 Baffled 2005-08-04 23:00:44

    There were no quotation marks in the post. There were parentheses, an exclamation point and a smiley, but no quotation marks.

    By going repeatedly to the site I did get the message again with the error, at the bottom of the blog homepage once more, but most of the time it did not show up anywhere except wp-mail.php. When it appeared on the page, it was at the bottom, below the footer, all the way across the page, outside the table that posts were in.

    I "cleaned up the mess" by deactivating the wp-chron plug-ins and checking that mail account from my e-mail program. After I'd downloaded the e-mail message, I got a "no new posts" message when I went to wp-mail.

    Outstanding questions:

    1. Since the error could not have been generated by quotation marks, what else would have done it? (If you want me to e-mail you a copy of the message, let me know.)

    2. Could the error be generated by my embedding (rather than attaching) an image in the message? The image showed up as code. :-(

    3. Do I need to do something else to make images sent by e-mail show up?

    I appreciate you answering my questions. :-) Makes me feel like I'm making progress in understanding this. :-)

  28. 1301 skippy 2005-08-05 11:38:46

    Baffled: I suspect that problems 1 and 2 may have been working together to cause problems. Please do send me the message. I don't know about #3, truth be told. I'll look into it.

  29. 1320 Baffled 2005-08-09 13:36:59

    I don't know if you had a chance to look at the message I sent you, but I think I found the problem myself. I sent a text only message and got a very simple error message tagging an apostrophe in my sig line as the problem. I removed the sig and sent another message. After 20 minutes of repeated checking it had not appeared on the blog, so I went to wp-mail and saw the message, no errors. "Mission complete, message 1 deleted." Went to the blog and the message was there, though the font didn't match and there was =20 and a line break. I removed html formatting and sent another message.

    The message appeared promptly, the font matches the blog, however there is a weird line break. No "=20" this time but the line still broke sooner than it should have.

    I'm going to continue testing this to see what other characters generate errors, but an aprostrophe is a significant bug. It means no one can use contractions in their posts. :-( I use contractions without even realizing it.

    I'll e-mail you the results of my tests. I decided to post here to let everyone know that I got it working and that apostrophes can generate errors that prevent posting.

    Thanks again for all your help. :-)

  30. 1319 skippy 2005-08-09 13:51:27

    Baffled: yes, I replied to the email you sent me (unless you sent me additional messages to which I did not reply, because I've not received them...)

    Yes, it's a known bug that apostrophes cause problems. Likely quote marks, too.

    The line breaks are occuring because your mail client is wrapping your lines for you. Most mail clients use a 72 character line, and will automatically wrap to the next line. You may be able to adjust your mail client to use abnormally long lines, but that may introduce problems elsewhere in your life, as all your email recipients will complain about not wrapping your lines. ;)

  31. 1325 Baffled 2005-08-09 15:49:44

    Yes, got your reply. Did additional testing this morning. I just sent you an e-mail with the results. BTW, quotation marks did not cause errors (at least not for me), only apostrophes!

    I see a lot of potential for this plug-in. I'll definitely be keeping up with your developments! Best of luck bug-hunting. ;-)

  32. 1469 franny 2005-09-03 10:53:24

    I'm using WP-Cron to post by email to my wordpress blog and this line:

    Content-Disposition: inline

    is showing up on the blog.

    Any ideas why or how to fix this?

    thanks.

  33. 1476 Mike Turner 2005-09-05 06:55:37

    Hi,

    Thanks for your addin. I too, like most people here, want to use the Cron job for Wordpress post by email.

    The problem I have is that Wordpress posts the email in a font that is not in any way related to my style.css etc. I presume it is posting in the email font. Is there any way to modify this?

    Mike T.

  34. 1481 skippy 2005-09-05 14:35:24

    Mike: my guess is that you're sending HTML emails to WordPress. Try sending plaintext emails.

  35. 1528 ikoko 2005-09-10 23:41:52

    I will use this. thanks

  36. 1545 Ben 2005-09-14 13:36:13

    Hi! It says that the future ping only works with 1.5.1.1. Does this mean it will no longer work if I upgrade to 1.5.1.3?

  37. 1546 skippy 2005-09-14 14:15:34

    Ben: sorry, future pings is compatible with 1.5.1.1 and above. It doesn't work perfectly, but it should work well enough for now.

  38. 1553 Ben 2005-09-16 03:18:06

    OK, I'm confused about this whole future ping thing because I'm testing it and it doesn't seem to work. But I'm not sure I really even know how to test because pingomatic seems so sketchy. It's not even clear to me that my normal posts are pinging, with or without the plugin activated.

    Now on reading more, it looks like wp-cron relies on traffic which would seem to further invalidate my test since I applied it first to a brand new test blog. Should I run a wget to the index page for this kind of test?

    And is there a good way for me to figure out if Wordpress is pinging? Is there an easy way I can ping myself to test that the ping was received? Am I wasting my time testing with pingomatic?

    I'm sorry, I'm just a bit dense and unclear how all this is supposed to work...But I'd really like to be able to upload a week's worth of posts to give fresh content through the week when I won't be able to post.

    Thanks again for all the *wonderful* plugins!

  39. 1552 skippy 2005-09-16 10:09:17

    Ben: yes, WP-Cron relies on traffic to execute. Without traffic, it won't execute reliably (and even with traffic it doesn't always execute reliably).

    The trick that future-pings uses is to interrupt the normal post process, grab the sites to ping, stuff them into the database, and then try to tell WordPress that there are no sites to ping. Some blogs seem to pull this off okay, others seem to have trouble. I'm really looking forward to the next version of WordPress, which should provide a better plugin interface for exactly this issue.

    As for testing pings, I recommend pingomation.

  40. 1575 Bertil Gralvik 2005-09-17 14:08:06

    Skippy: This plugin is great.
    I'm a newbie in the blogging field, know programming rather well, but not used to PHP.

    In trying to use wp-crom for email posting, I've followed the instructions given in the documentation.

    I get the confirmation message to the admin email address and it contains the content of my post, so I know wp-cron is getting it from the mail server ( POP ).

    Strangely enough, it is never published.
    I have also tested wp-mail.php manually from the browser and it renders the post published, so there seems to be nothing wrong with the WordPress settings.

    Looking in the inbox for mail server account, the mail is still there. This also have the effekt that the confirmation mail comes to admin mail every time wp-cron runs the mail fetcher.

    For some reason wp-cron-mail doesn't finish the communication with the POP server in the same way as wp-mail.

    Any idéas?
    Good you're here :-)
    /Bertil

  41. 1562 Bertil Gralvik 2005-09-17 15:05:58

    Hmm.. thanks for reading.
    I found the problem. It seems to have involved an apostrof ('). The post I succeded with usin wp-mail wasn't the same I used for testing pw-cron-mail.

    I broke the first law of testing: "Never change more than one parameter at a time."

    It's working! Thanks a lot.
    Now I just have to adapt to the idéa of sending plain text messages by mail.

    Thanks again for a very useful plugin!

  42. 1566 skippy 2005-09-17 17:59:44

    Bertil: yes, it's a known flaw that neither wp-mail nor my wp-cron-mail processes properly deal with apostrophes. It's easy to fix, and I'll try to publish an update for wp-cron-mail very soon.

  43. 1589 Jess 2005-09-20 18:47:04

    Hello, I have noticed that the posts sent by e-mail using WP-Cron does not parse the foreign characters correctly. Like ä, î, æ, ø and so on. Any way to circumvent this? The blgo is running as UTF-8...

  44. 1596 kimberley 2005-09-23 13:22:05

    Halp!
    Hi there. :)
    I am new to wordpress and phps and plugins and ... well, right now it seems like I'm new to everything!
    I downloaded 1.1a and read the readme.txt; per the instructions, I put the wp-cron.php file into /wp-content/plugins/ and then tried to activate the php. I got the following error:

    Fatal error: Call to undefined function: add_action() in /home/mazzieor/public_html/wp-content/plugins/wp-cron.php on line 14

    ... and I have no idea what it means or what to do. Halp?
    Thanks!
    Kimberley

  45. 1595 skippy 2005-09-23 13:44:57

    add_action() is defined in /wp-includes/functions.php. It might be worth re-uploading the file, to make sure it's intact.

  46. 1597 kimberley 2005-09-23 13:54:21

    Me again!
    I re-uploaded functions.php and it didn't work. so i re-downloaded all of wp and re-uploaded a fresh functions.php. I am still getting the same error.
    Any more suggestions?
    Thank you!

  47. 1607 skippy 2005-09-23 14:12:33

    Do any plugins work? add_action() is a standard component of most plugins, so I can't imagine why this isn't working for you.

  48. 1610 kimberley 2005-09-23 14:39:07

    now that you mention it, they certainly don't seem to. perhaps a clean install of all of WP?
    meh.

  49. 1613 kimberley 2005-09-23 15:43:44

    clean install; still don't work.
    gonna add whiskey and thinkk about it; try again over the weekend.

  50. 1651 eyal rosenzvaig 2005-10-01 01:36:44

    Does the plugin works if the site has very few visits a week ?

  51. 1653 skippy 2005-10-02 17:18:55

    eyal: yes, the plugin will "work", but it may not work as you'd like. This plugin triggers actions based on visitors coming to your site. With only a handful of visitors every week, the 15 and 60 minute actions may not occur as regularly as you might like.

  52. 1856 Stefan 2005-10-31 05:52:56

    Hi skippy,
    thank you so much for all your useful plugins.
    Question: how can I get the future ping file to work with 'real' cron? I can configure cron jobs on my server and don't really want to rely on someone to visit my site for it to be executed.

    Thanks for your help.
    Stefan

  53. 1813 skippy 2005-10-31 11:24:20

    Stefan: You'd need to make wp-future-pings.php a stand-alone script that you would then call with wget or curl. Even then it won't necessarily work right, because current versions of WordPress don't handle future-dated posts in a very elegant way. I hope that the next version of WordPress will provide better hooks for future-dated posts to make future-pings an easier proposition.

  54. 1876 Beginner Millionaire » The WordPress Plug-In List for Niche Bloggers 2005-11-03 06:30:25

    [...] WP-Cron - Executes cron jobs. [...]

  55. 1828 techno 2005-11-09 00:56:36

    i´m using your excelente plug, i´m try to make a planet with my wordpress site, i install 2 plug wp-cron and rssfeeder the last plug have a phpfile, this file update all the feeders but no in a automatic form and only works if i put the full address of this file in my browser, i want to make a plug to use the cron power. to update all the feeds

    this is the site: http://demo.mayix.net/
    and this is the full path of the updater
    http://demo.mayix.net/wp-content/update-feeds.php

    how i can make to cron make this work ?? please Helpme !!!
    sorry for my bad :( english but not is my native languaje

  56. 1818 skippy 2005-11-11 15:04:16

    techno: Take a look at my wp-cron-feedonfeeds.php file, which I use to update my FEED ON FEEDS aggregator. It should serve as an example of how you can call your update-feeds.php file.

  57. 1995 xare 2005-11-25 01:16:24

    Hi,
    I have installed wp-cron-mail.

    It was working fine, but there is one posting that was sent to me 10 hours ago, and now it does still not appear on my sites admin area but I keep on receiving the notifying post to my mail every 20 mins. What's happening?

    Thanks

  58. 1997 skippy 2005-11-25 02:36:25

    xare: Unfortunately, I'm not sure. I've never actually used wp-cron-mail, because I don't use POP3 email. wp-cron-mail was basically a direct copy of the original WordPress wp-mail.php, adjusted to supported WP-Cron.

    If you need to do blog-by-email, you might have better success with postie.

  59. 2018 Jesper 2005-11-28 16:30:20

    Hi Skippy.

    Great plugin I think I'm in love.

    But I do belive it has problems with danish chars. I've posted an example on my homepage: http://d190741.u27.surftown.dk/?p=12

    I have all the plugins enabled, just because I can't figure out which I can do without.... I just need to be able to send mails and have the appear with the cron thing. It has done a great job for all my testing.

    I hope you have the time to help me figure my problem out.

    J;-)

  60. 2036 JJ 2005-11-30 03:22:36

    Would an image included in the e-mail (not attached) appear as an image in the blog post? Are there any options for creating thumbnails, etc? (I'm running a photoblog and want to be able to quickly post). This may require a seperate plugin, but perhaps you might know one that works well in conjunction...

    Also, I don't know how to include a link target for an image. Any help is appreciated.

  61. 2030 skippy 2005-11-30 04:35:47

    Jesper: wp-cron-mail.php is basically the default wp-mail.php bundled with WordPress -- I didn't add or change anything other than the cron functionality. So if wp-cron-mail.php doesn't do something correctly, chances are high that wp-mail.php fails similarly.

    JJ: wp-cron-mail.php does not support image uploading. I believe that the Postie plugin does.

  62. 2045 JJ 2005-12-01 05:11:06

    if i had a different machine constantly refreshing the website (at least at first, considering that I don't have a visitor base at all) would I be able to set the cron rate to one minute? This would mean I take it that the IP of the visitor does not have to change.

    Do you know how I could do this on a client machine? I could always just write up a really quick program with one function (refresh...ping?) just continually referring back to itself

  63. 2049 skippy 2005-12-02 00:21:25

    JJ: if you have a machine pinging your website every minute, wouldn't it be a lot easier all around to just use a real cron job?

    WP-Cron doesn't care about who's visiting. It doesn't check IP addresses, or user agents, or requested pages, or anything. Any time your blog is loaded, WP-Cron checks its timestamps and if necessary does its thing(s).

  64. 2053 informationjunkie 2005-12-02 16:52:46

    Hi Skippy!
    I would like to blog by email, but for some creepy reasons this doesn`t work,whatever I try in this particular WP-Installation. I tried Postie, connected to AND without your WP Cron, I tried wp mail-mod and the default wp-mail. I tried it with and without webbased cronjobs, and there different settings.
    I'm quite close to give up.
    On another server, http://blogsport.de, the default wp-mail works without any problems. I would use this one, but prefer my own webspace...
    Have you any idea of why this is? Would help me a lot...

  65. 2052 skippy 2005-12-02 18:09:18

    informationjunkie: sorry, I can't provide any specific help. The number of variables involved with blog-by-email, combined with my complete lack of experience with the matter, means I can't help much. You may need to request some assistance from your hosting provider in order to diagnose problems with POP3 or (potentially) PHP configurations. Good luck.

  66. 2056 web|log of Ross Gerbasi » Blog Archive » Sprint Picture Blog 2005-12-03 01:24:42

    [...] Instructions are all pretty straight forward in the SprintPhoto.php file. It is recommended you use WP-Cron to automate everything this plugin has been modified to work with Wp-Cron. So simply installing Wp-Cron and SprintPhoto will automatically check for new Mobile Messages, no more browseing to a url after you post something. [...]

  67. 2091 Kold 2005-12-07 22:21:15

    Just testing your plugin for blog by email but apostrophes are causing a problem. Have you had a chance to fix this yet?

  68. 2087 skippy 2005-12-08 02:02:40

    Kold: I'm pretty sure that the latest version of WP-Cron properly handles apostrophes. If not, I suggest trying Postie.

  69. 2096 Kold 2005-12-08 18:35:11

    Thanks! I downloaded 1.1a from the link above, thinking that was the latest version.

  70. 2416 Vivek 2006-01-08 01:41:13

    Hi, I uploaded the files to "...\wp-content\wpc" directory. Upon trying to run the wp-cron.php to run, I keep getting this message

    "Fatal error: Call to undefined function: add_action() in C:\Inetpub\vhosts\pginephro.org\httpdocs\blogs\wp-content\wpc\wp-cron.php on line 14"

    Can you help

  71. 2637 /// CityOfRain /// » Fellow Wordpressers 2006-01-24 18:12:04

    [...] http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/ [...]

  72. 2610 Schwerdtfegers Weblog » WP Delete Old Stat Plugin 2006-01-24 22:20:04

    [...] Dieses Plugin ist zwar leicht zu installieren und erfüllt seine Aufgabe recht gut, hat aber den Nachteil, eine riesige Logdatei in der Datenbank zu verwalten. Da ich nicht unbegrenzt Platz für meine Datenbank habe, aber sehr wohl die Entwicklung der Besucherzahlen in den letzten zwei Wochen überschauen möchte, habe ich WP-Shortstat Delete Old programmiert. Es bindet sich über das WP-Cron-Plugin ein und löscht täglich alle Einträge, die älter als 14 Tage sind aus der Datenbank. [...]

  73. 2642 Elias Schwerdtfeger 2006-01-25 17:17:34

    There is a little error in your WP-Cron source, not harmful, but it may lead to confusion. (I searched for errors in my own code first ;-))

    In line 33 the number "864000" has to be replaced by "86400", if the plugin should execute the "daily" function daily indeed and not every ten days. Really simple to fix.

  74. 2529 Kevin 2006-01-25 21:06:04

    Hi Skippy

    Thanks for posting your wp-cron suite. This may be more of a WP question than a wp-cron question. I'm wondering, is there a way to re-mail incoming posts to blog subscribers? I know this is asking to reproduce mailing list functionality, but I think that putting the two together would help a lot in certain environments giving bloggers the ability to do a lot more than just create a mailing list.

    AtDhVaAnNkCsE (Thanks in Advance)

    Kevin

  75. 2497 skippy 2006-01-25 23:51:05

    Kevin: I'm not entirely sure I understand what you're looking for. It sounds like my subscribe2 plugin may be what you're after.

  76. 2551 Allison 2006-01-28 20:31:19

    I am having the same problem as Franny. My posts show:
    Content-Disposition: inline

    Can you tell me what to try or what to fix?

    Thanks!

  77. 2552 Allison 2006-01-28 20:44:35

    As a follow up, when I tried from another email account (I used gmail the first time) it worked with no problems. I don't think its an issue with your plugin.

    Thanks

  78. 2639 chen 2006-01-30 09:44:57

    Thank you for your wp-cron.

    I am using the postie plugin as i am use a mail with ssl.
    but the problem is i must run the get_mail.php(in the postie plugin floder) everytime.

    How can i use postie winth wp-cron so the get_mail.php can be run itself?

    Thanks

  79. 2844 Desultory Thoughts » WordPress “Writing by Email” Feature 2006-02-19 02:54:10

    [...] The problem seems to be, however, that it’s still a two step process. In order for the email to post, I still have to run a php script that retrieves the email (as if it were a POP3 mailbox) and only then will it actually post. It would be nicer if I could just send the email and it would post automatically. I don’t see the benefit otherwise. It’s just as easy to login to my server and publish from within. I’ll do some searching around to see if there isn’t a way to automate the process. In the meantime, just consider this a test. (Update: Yes, there is a way to automate the php script. It’s called WP-Cron [http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/] and it’s a plugin for WordPress. If I decide that an email feature will be useful, this is how I’ll be setting this up. [...]

  80. 2870 Inder 2006-02-21 17:26:21

    I am trying to make my blog work via email and I cant seem to find all the pieces to it.

    First will it work with 1.5.2 version of wordpress ?
    Second- if yes - do I use the same plug in mentioned on this website ?

    Thanks
    Inder.

  81. 2893 Bill 2006-02-24 14:51:23

    Hello Skippy,

    Just found this page and I am wondering if your future ping plugin is working with Wordpress2. I noticed that in September of last year you wrote, "I'm really looking forward to the next version of WordPress, which should provide a better plugin interface for exactly this issue." So, I was wondering if you are updating your plugin or if the one that I can download from this page is fine to use with Wordpress2.

    Thanks for your help.

  82. 3129 Guido 2006-03-30 05:44:30

    Hi Skippy,

    I have the same question - does the current version of your plugin work well with WP 2 ? Or should we wait for an upgrade of your plugin ?

  83. 3132 skippy 2006-03-30 12:36:09

    Wp-Cron works with both WordPress 1.5.x and 2.0.x. The future pings plugin should work with both versions of WordPress, too, but I can't make any guarantee that it will function well. It was spotty at best while I was using it.

    A future version of WordPress (most likely 2.1) will include this functionality out of the box.

  84. 3227 Jack Passarella 2006-04-08 16:33:57

    I installed WP-CRON & the EMAIL plug-ins and got this error sent to me after a 15 minute interval:
    Ooops POP3: premature NOOP OK, NOT an RFC 1939 Compliant server
    I got a similar message when trying to use a PHP command in a cron job (my hosting only allows one cron job per day this way)...How hard is it to make a server RFC 1939 Compliant?
    Thanks, Jack

  85. 3239 Humh » Things I did today 2006-04-12 08:03:44

    [...]  try this next « this is a new post   [...]

  86. 3270 benny 2006-04-17 18:30:34

    hi, i follow the instructions from this site and wordpress site but i can´t do run de plugnis mail.
    whenever receipt activates the following message in my mail box
    Ooops POP3 connect: No server specified

    what happend?, what can i do?

  87. 3265 Donna 2006-04-21 03:40:19

    I've installed wp-cron and the ping script, I also activated the reminder, just to see that it was all working. I've not gotten any emails all day though. So I suspect the ping script isn't working either - which is what is important to me. This is under Wordpress 2.0.2. I've had a look at the reminder script just to make sure there was nothing I was meant to configure, and it looks like there is not. I'm not sure where to start debugging this. Can anyone help? Any suggestions?

  88. 3266 bobstablog » Blog Archive » I think I got the posting thing working now… 2006-04-22 14:01:19

    [...] If this appears, then I have! By a combination trial and error and other peoples plugins, its now possible for registered members of this site to post by email. Email address on application. Else I might get lots of junk appearing. The WP plugins I used were postie and cronless postie and wp-cron, and then my own little addition, wp-cron-postie.zip which is just a hacked version of wp-cron-reminder. -Bob [...]

  89. 3379 ralev.com 2006-05-14 00:36:15

    I've got the same problem as Donna..
    :)

  90. 3373 brock 2006-05-18 03:30:29

    This may be a stupid question, but...how do you "activate" once you have copied files over to the directory?

  91. 3344 Netwalker 2006-05-26 18:58:20

    I'm trying to use wp-cron to execute a file of the smartrss plugin, but I can't make to work.

    Can you help me?

    Thanks

  92. 3401 chris 2006-05-30 17:24:21

    Hi,

    I installed the script (latest version of WP, hostgator is my host) and the sixty minute reminder was sent 17 times to my email account within 7 minutes!

    Not sure why I'm getting the multiple emails when I'm expecting only one.

    Any ideas?

  93. 3023 Arlen 2006-06-01 15:39:43

    i installed this plugin and activated it but recieved no emails, so i started taking a closer look and when i accessed the files directly i got an error "Call to undefined function: add_action()" i dont know where the function add_action is defined but my instance can not find it anywhere, any help would be appreciated

  94. 3077 1983 » Blog Archive » Wordpress Plugins 2006-06-20 10:18:46

    [...] WP-Cron Again, enabled but no idea what for. [...]

  95. 3440 Gerard 2006-07-10 18:43:20

    I get this email in my Admin account:

    "Content-type: text/html, boundary:
    Raw content:

    test blog by mail

    Author: 1
    Posted title: TESTJE onderwerp
    Posted content:

    test blog by mail

    Mission complete, message 1 deleted.
    "

    But nothing is posted on my site... what's going wrong here? Thanks

  96. 3615 Peter 2006-08-07 10:44:14

    Great plug in, Skippy. Thanks. Do you know of any way to restrict who can post using the post-by-email method? Also, my virus software puts an annoying message at the bottom of the outgoing message, and this is showing up in the post. Do you know of any way to have this stripped out?

  97. 3624 skippy 2006-08-07 10:58:11

    Sorry for not answering the backlog of questions sooner. I am not currently providing support for my plugins. Please direct all support requests to the WordPress support forums.

  98. 3600 JMSiefer 2006-08-10 13:42:59

    Skippy,
    Thanks for the plugin man. It works great. I was wondering if you might know why (and this is both with and w/o your plugin installed) that my posts are only showing the email title, and not the body of the post. Very strage. Do you think that it has to do with the POP account that I'm using? Thanks again and hope to hear back. -J.

  99. 3609 Lee 2006-08-14 06:11:30

    The plug in works great! One question though is how wordpress handles attachments -- it doesn't seem to like Word documents. Any ideas? Thanks!

  100. 3611 eb 2006-08-15 21:59:26

    Hey Skippy your a SUPERSTAR... we have been messing about with CRON this CRON that, PING this PING that, WAY too hard to understand! Then we find your plugin... WOW it was a NO BRAINER and now we can compete with the BIG GUYS and not get chucked off the search engines by using crappy scripts that update loads of crap to blogs with no thought! WELL DONE and keep it up! eb

  101. 3587 ReadingLab » Blog Archive » This is a Test 2006-08-25 19:19:32

    [...] Use the WP-Cron  ( http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/) WP-Mail plugin. [...]

  102. 3588 wtrk 2006-08-26 00:27:30

    do you have to use/install 'wp-cron-reminder' or is its sole purpose just to test if its working or not?

  103. 3547 another zit on the arse of the universe from warrenelliscom 2006-09-05 00:47:40

    [...] skippy dot net » Plugin: WP-Cron A plug-in for the arcane-to-normal-humans “cron” function. (tags: wordpress web) [...]

  104. 3549 .. 2006-09-05 22:52:23

    [...] What you’ll need: 1. A current build of Wordpress. 2. A phone capable of sending email, photos, etc. 3. An email account that you will use exclusively for posting. 4. Posties 5. WP-Cron [...]

  105. 3548 another zit on the arse of the universe from warrenelliscom 2006-09-06 14:23:42

    [...] What you’ll need: 1. A current build of Wordpress. 2. A phone capable of sending email, photos, etc. 3. An email account that you will use exclusively for posting. 4. Posties 5. WP-Cron [...]

  106. 3554 Alex Beston 2006-09-11 19:52:23

    looks interesting. Currently use a tab on the browser to update WP after the post. Guess this is the best way to do it, but obviously, requires an extra bit of effort to work out whats going on. So a bit of quiet time and focus for me then!

  107. 3513 LarchOye.com » Blog Archive » Wordpress - Blog By Email option 2006-10-04 04:36:55

    [...] Use the WP-Cron  ( http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/) WP-Mail plugin. [...]

  108. 3514 LarchOye.com » Blog Archive » Wordress Stuff - Blog by Email additional plugins, etc. 2006-10-04 06:21:34

    [...] Plugin: WP-Cron 106 [...]

  109. 3517 PIP 2006-10-08 23:27:14

    Hi! I have the same problem as Jess:

    "Hello, I have noticed that the posts sent by e-mail using WP-Cron does not parse the foreign characters correctly. Like ä, î, æ, ø and so on. Any way to circumvent this? The blgo is running as UTF-8…"

    What can be none?

  110. 3507 Terry 2006-10-12 14:36:37

    First off - thanks for Crons. I have an important question for you gang.

    I'm using the Future Pings plugin, but:

    I've loaded some feeds on one of my blogs:
    http://www.silii.com/

    These feeds are scheduled to post every 7 - 18 hours at about 3 posts a day. When viewing all posts in edit mode automatically the ALLOW PINGS and ALLOW COMMENTS are unchecked.

    SO....by using the "Future-Pings" plugin, does this over-ride the check boxes and create a ping when a new post is visible to viewers?

    Thanks for reading this gang.

    Terry
    -- OSA:
    Post commenting expired for this post 489 days ago.
    Final filter result: -1
    --

  111. 3481 morktron 2006-11-01 03:05:50

    Thanks Skippy for making this plugin.

    I can't get it to work though :(, I get this message (when i go to yhe wp-mail.php page):

    Ooops POP3 connect: Error [2] [No such file or directory]

    what to do?

  112. 3485 martin.cleaver.org 2006-11-04 17:57:22

    wp-cron.php - added to dashboard...

    I added this to the bottom of wp-cron.php (1.1a) so I can see that it is loaded and when it last ran. Needs de-geeking for general consumption.

    //// MENUs
    function wp_cron_add_pages($s) {
    add_submenu_page('index.php', 'wp-cron', 'WP-Cron', 1, __...

  113. 3471 Just another stop on the web » test 2006-11-07 19:48:20

    [...] And now I’m editing the post from the web front end. It appears that to get email posts to appear on teh page, you have to visit a link in the Wodpress directory named wp-mail.php. Futhermore, this does not check the mail until it has been visited. So, how do you get it to visit that page on a regular schedule? You need another plugin, and that is wp-cron. Info about such from wp-cron can be found here: http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/ [...]

  114. 3469 Just another stop on the web » Email updates to a blog 2006-11-07 21:34:38

    [...] Is it possible send an email to yourself and have it posted to your wordpress blog? The answer is yes. Documented in the wordpress support and docmentation site. http://codex.wordpress.org/Blog_by_Email. In short, once your at the dashboard page, go to the options section and then into writing and give it the information for an email account that it can check. You do not want to use your primary email account as it will post anything you get in email. So make something up that’s not going to be easy for people to figure out, as it will again post anything that is sent to this email address on your blog. But that only gets you part way there. Second you’ll need someway to force it to update. There is a tool in your blog folder named wp-mail.php. This is a script that will check the email account and then post what ever has been recieved. To make this happen automatically and regularly we’ll need to either configure cron, or there’s a lovely tool for wordpress called wp-cron. (http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/ ). Just download wp-cron and put it and all of the php files that come with it in your plugin’s folder for wordpress.  Once it’s there you’ll need to go to wordpresses plugin’s section and activate wp-cron and wp-cron-mail. [...]

  115. 2973 blueEyedCreature.NET » Blog Archive » test 2006-12-09 13:15:32

    [...] http://codex.wordpress.org/Blog_by_Email http://www.skippy.net/blog/2005/05/26/plugin-wp-cron/ [...]

  116. 3663 Uncle Brian 2006-12-20 03:43:56

    Hmmm.

    I did a clean install of WP. I uploaded the plug-ins and activated them.

    I don't know what the instructions mean by using one of the three suggested somethingerothers... I just set up a pop account and have it load that.

    I sent an email from a gmail account and in my control panel I see a post in my control panel under manage / post. It does not have any content. Just the title.

    It doesn't show up on my blog either.

    I've sent email from another account from inside Outlook and the same thing happens.

    Any ideas?

  117. 3670 skippy 2006-12-20 14:39:23

    Uncle Brian: I'm no longer providing support for my plugins. I suggest you seek help at the WordPress support forums.

  118. 3778 Etoile Tori Avalon 2007-01-14 18:54:40

    Dude thanks a lot for your plugin! With Blog-by-mail and WP-Cron working together, I don't need to go online to make instant post. I'll just email my 'secret address' using my mobile phone.

    Great job! :D

  119. 3886 Tim Frazier 2007-02-16 02:42:36

    Great job! I'm using the WordPress module inside XOOPS CMS at http://www.4fraziers.com and figured it would take me hours to get your WP-Cron plugin to work in it if at all. I followed your instructions and presto, I was blogging by email in five minutes (well, it took fifteen before it was confirmed, but only five of actual copying files and activating plugins). Thanks a million, you've saved me lots of time and made it a lot easier to get away with blogging from work! ;)

  120. 3915 Yalanda 2007-03-06 17:12:00

    I've added the plugin. I'm getting the reminders, so I guess its working. But I do have POP3 emails, so will I not be able to use this feature? The email is with my domain host, so how can I use?

  121. 9079 5 Wordpress Plugins that you simply do not need! at Mass Automation Tools 2007-09-24 17:28:25

    ..., but who cares? This is not a critical issue unless you are editing your post 20-30 times, lol. 5. wp-cron
    The purpose of this plugin was to automate tasks from within Wordpress. For example, if you need to...



About

Brewer philosopher.

User