Title: cron job example
Last modified: August 21, 2016

---

# cron job example

 *  [MiJaMu2](https://wordpress.org/support/users/mijamu2/)
 * (@mijamu2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/cron-job-example/)
 * I noticed that it may be possible to schedule a script to automatically sync 
   user accounts via cron job.
 * Could you give an example of what that job would look like?
    thanks.
 * [http://wordpress.org/plugins/active-directory-integration/](http://wordpress.org/plugins/active-directory-integration/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [MiJaMu2](https://wordpress.org/support/users/mijamu2/)
 * (@mijamu2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/cron-job-example/#post-4306678)
 * This is the best I could come up with, but it’s not working. any ideas?
    thank
   you!
 * */5 * * * * wget -qO /dev/null [http://yoursite.com/bulk-import.php](http://yoursite.com/bulk-import.php)(
   or whatever the correct url is)
 *  Thread Starter [MiJaMu2](https://wordpress.org/support/users/mijamu2/)
 * (@mijamu2)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/cron-job-example/#post-4306791)
 * anyone have an idea on this? It would be much appreciated!
 *  [Ixchel Lunar](https://wordpress.org/support/users/trenee71/)
 * (@trenee71)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/cron-job-example/#post-4306806)
 * Instead of wget -qO /dev/null
    Try: /usr/bin/wget [http://blahblahblah](http://blahblahblah)(
   full URL of plugin bulk import link with authorization code) link is found in
   plugin > Bulk Import tab.
 * No errors with this one yet.
 * Best,
    Tiff
 *  [chrisjscott](https://wordpress.org/support/users/chrisjscott/)
 * (@chrisjscott)
 * [12 years ago](https://wordpress.org/support/topic/cron-job-example/#post-4306829)
 * Using wget results in file dumps in your home folder every time the cron job 
   is run. Instead, consider using:
 * lynx -dump <URL>
 *  [ssergutaboselaw](https://wordpress.org/support/users/ssergutaboselaw/)
 * (@ssergutaboselaw)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cron-job-example/#post-4306839)
 * Chris, when I try the lynx -dump I get an error
    lynx: not found
 * I tried just this
    lynx -dump <URL> and /usr/bin/lynx -dump <URL> thanks for 
   the help

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘cron job example’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/active-directory-integration_e2ecae.
   svg)
 * [Active Directory Integration](https://wordpress.org/plugins/active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/active-directory-integration/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [ssergutaboselaw](https://wordpress.org/support/users/ssergutaboselaw/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/cron-job-example/#post-4306839)
 * Status: not resolved