Skip to content

Instantly share code, notes, and snippets.

@desyncr
Created February 26, 2014 19:45
Show Gist options
  • Save desyncr/9236960 to your computer and use it in GitHub Desktop.
Save desyncr/9236960 to your computer and use it in GitHub Desktop.
check process gearman.worker.user.user_appointment_request with pidfile "/var/run/gearman.worker.user.user_appointment_request.pid"
start program "/bin/bash -c '/usr/bin/php /srv/www/htdocs/sm/truck/SaludMovil/public/index.php gearman worker execute user.user_appointment_request >> /tmp/gearman.worker.user.user_appointment_request.log & echo $! > /var/run/gearman.worker.user.user_appointment_request.pid'"
stop program "/usr/bin/pkill --full user.user_appointment_request"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment