Skip to content

Commit

Permalink
Merge pull request #1092 from marji/patch-1
Browse files Browse the repository at this point in the history
closes #1091 - cron doc extra backspace
  • Loading branch information
weitzman committed Jan 15, 2015
2 parents 93d2002 + 4cec388 commit c656bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Quick start

If you just want to get started quickly, here is a crontab entry that will run cron once every hour at ten minutes after the hour:

`10 \* \* \* \* /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/drush/drush --root=/path/to/your/drupalroot --uri=your.drupalsite.org --quiet cron`
`10 * * * * /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/drush/drush --root=/path/to/your/drupalroot --uri=your.drupalsite.org --quiet cron`

You should set up crontab to run your cron tasks as the same user that runs the web server; for example, if you run your webserver as the user www-data:

Expand All @@ -19,7 +19,7 @@ You might need to edit the crontab entry shown above slightly for your paricular
Setting the schedule
--------------------

See `man 5 crontab` for information on how to format the information in a crontab entry. In the example above, the schedule for the crontab is set by the string `10 \* \* \* \*`. These fields are the minute, hour, day of month, month and day of week; `*` means essentially 'all values', so `10 \* \* \* \*` will run any time the minute == 10 (once every hour).
See `man 5 crontab` for information on how to format the information in a crontab entry. In the example above, the schedule for the crontab is set by the string `10 * * * *`. These fields are the minute, hour, day of month, month and day of week; `*` means essentially 'all values', so `10 * * * *` will run any time the minute == 10 (once every hour).

Setting the PATH
----------------
Expand Down

0 comments on commit c656bf3

Please sign in to comment.