WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Photo Fetcher
[resolved] Setting Up a Cron Job (3 posts)

  1. iftomkins
    Member
    Posted 2 years ago #

    Hey! I saw on the plugin page that you have thought about a cron feature for future versions. I wonder if you had any tips for me to implement it now? I just need to trigger a refresh of the Facebook albums once every hour or so. I'm little bit of a newbie, so I know how to set a cronjob to call a php script, but I'm not sure how to write a script to trigger the Facebook Photo Fetcher properly. Any tips would be appreciated, thanks!

    http://wordpress.org/extend/plugins/facebook-photo-fetcher/

  2. Taylor Baybutt
    Member
    Posted 1 year ago #

    Ever figure this out?

  3. justin_k
    Member
    Plugin Author

    Posted 1 year ago #

    WP event scheduling documentation: http://codex.wordpress.org/Function_Reference/wp_schedule_event

    And you can see how to re-fetch albums by referencing the code in the admin panel for the re-fetch buttons.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic