XF 2.2 Running Multiple Executions of the Job Runner

robdog

Well-known member
Until I get RabbitMQ integrated and set up with XenForo, does anyone see a problem with running the job runner like so:

Bash:
* * * * * php /srv/www/app.com/public/cmd.php --time=55 ps:jobs:run >> /dev/null 2>&1
* * * * * sleep 15 && php php /srv/www/app.com/public/cmd.php --time=55 ps:jobs:run >> /dev/null 2>&1
* * * * * sleep 30 && php php /srv/www/app.com/public/cmd.php --time=55 ps:jobs:run >> /dev/null 2>&1
* * * * * sleep 45 && php php /srv/www/app.com/public/cmd.php --time=55 ps:jobs:run >> /dev/null 2>&1

Really just wanted to post this publicly to see if this could run into issues. I know this is not the cleanest, but I really want to make sure events were not going to be ran multiple times, which I believe the system already handles this.

Anyways, any feedback would be great. Thanks.
 
Back
Top Bottom