Skip to content

Instantly share code, notes, and snippets.

@generalredneck
Created February 16, 2012 18:37
Show Gist options
  • Save generalredneck/1846929 to your computer and use it in GitHub Desktop.
Save generalredneck/1846929 to your computer and use it in GitHub Desktop.
drush cron run
#!/bin/bash
drush eval "variable_set('$1_cron_last', 0);"
drush eval "$1_cron();"
drush eval "variable_set('$1_cron_last', time());"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment