Posted By

chrisaiv on 04/16/09


Tagged

drupal cron


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

variantstudios
hyper3xpl0iter


Drupal: Basic CronJob example


 / Published in: Bash
 

The Drupal website will be updated every 45 minutes after the hour.

  1. #Step 1: Open Terminal and type 'which curl'
  2. # It might return something like /usr/bin/curl
  3.  
  4. #Step 2: In Terminal type 'crontab -e' or if you have TextMate type 'crontab'
  5.  
  6. #Step 3: Paste this code
  7. 45 * * * * /location/of/curl --silent --compressed http://localhost/cron.php

Report this snippet  

You need to login to post a comment.