Skip to content

Commit

Permalink
Updated rcron instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Kuhl committed Apr 9, 2014
1 parent 19469cc commit 9b785c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Publish the configs using `php artisan config:publish indatus/dispatcher`. Then

**I need to deploy to multiple servers representing a single environment. How can I be sure my command is only run by a single server and not run on each server?**

Schedule `scheduled:run` to use [rcron](https://code.google.com/p/rcron/):
Schedule `scheduled:run` to run every minute with [rcron](https://code.google.com/p/rcron/):

```php
* * * * * /usr/bin/rcron php /path/to/artisan scheduled:run 1>> /dev/null 2>&1
Expand Down

0 comments on commit 9b785c6

Please sign in to comment.