From 89c384da14e9db50c557760aee57a8f3f00d5023 Mon Sep 17 00:00:00 2001 From: Ben Kuhl Date: Fri, 21 Mar 2014 20:59:13 -0400 Subject: [PATCH] Updated readme to address rcron --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6c4a49d..be8a478 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,14 @@ You can build your own drivers or extend a driver that's included. Create a pac ## FAQ +**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/): + +```php +* * * * * /usr/bin/rcron php /path/to/artisan scheduled:run 1>> /dev/null 2>& +``` + **Why are my commands not running when I've scheduled them correctly? I'm also not seeing any error output** Verify that mcrypt is installed and working correctly via the command `php -i | mcrypt`.