Skip to content

VeggieMeat/drush_cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

This script makes it easy to run Drupal's cron on a site via Jenkins. The main
reason that I prefer to do this over Jenkins is it makes it very easy to see if
a cron run failed at a glance. Additionally, drush allows you to see much more
information about what made a cron run fail rather than getting a 500 error.

USAGE:

Create a new job in Jenkins, and add the following to the Execute Shell section

  sh /usr/local/bin/drush_cron/drush_cron.sh your.server.com example.com

Change /usr/local/bin to point to where you choose to place this script.
If you change the location, be sure to update the script so that it can find
the fabfile. "your.server.com" is the host that you want to run the script
on (i.e. your Aegir server), and "example.com" is the site where you want to
run cron. Make sure that it matches the drush alias for your site.

About

Simple fabric script for running site cron via Jenkins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages