Skip to content

Instantly share code, notes, and snippets.

@FROGGS

FROGGS/cp.cron Secret

Created March 30, 2015 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FROGGS/6a6d6f54214f8d2e0837 to your computer and use it in GitHub Desktop.
Save FROGGS/6a6d6f54214f8d2e0837 to your computer and use it in GitHub Desktop.
# updates the lastest reports list (but only if new reports were added since the last time)
*/5 * * * * cd /home/froggs/cpandatesters.perl6.org && flock -n ~/gen-recents.lock -c '/home/froggs/nqp/install/bin/perl6-m jobs/gen-recents.pl'
# generates /reports/1.html, so we want to run that more often
*/5 * * * * cd /home/froggs/cpandatesters.perl6.org && flock -n ~/gen-report.lock -c '/home/froggs/nqp/install/bin/perl6-m jobs/gen-report.pl'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment