Cron

Fri, 06/07/2012 - 15:55
Body
http://de.wikipedia.org/wiki/Cron http://www.tim-bormann.de/taskmanager-unter-linux-debian-cron/ http://www.sysadminslife.com/linux/cronjob-unter-debian-und-ubuntu-erstellen/ http://www.thesitewizard.com/general/set-cron-job.shtml http://drupal.org/cron | DRUPAL mit wget http://www.dominiquedecooman.com/blog/how-run-drupal-cron-cli | cli

General

Edit crontab
  1. crontab -e  //current user
  2.  
  3. ODER
  4.  
  5. crontab -e -u www-data //crontab of user "www-data"
crontabs are here: /var/spool/cron/crontabs SAMPLE:
  1. 50  20  *  *   *   /usr/bin/wget -O - -q -t 1 http://192.168.1.238/WORKSPACE_DRUPAL/artwaves_drupal_texturesite/cron.php
Beispiel, ausführend eines sql scriptes
  1. * 12,14,17,20   *   *   *   mysql --user=root --password=12345678-D dbname < /home/www-data/free_reset.sql
Add new comment
The content of this field is kept private and will not be shown publicly.

Plain text

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <drupal-entity data-*>
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.