Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
41 lines (35 sloc) 1.158 kB
# Use this file to easily define all of your cron jobs.
# Learn more: http://github.com/javan/whenever
#
# Install this crontab with: whenever -f schedule.rb -w
#
# 'Git index' jobs require SCM Breeze: https://github.com/ndbroadbent/scm_breeze
job_type :git_index, "git_index --:task"
# -----------------------------------------------------------------------
# Rebuild SCM Breeze index
every 1.minute do
git_index "rebuild"
end
every 10.minutes do
# Update dotfiles
# - Set up new symlinks
# - Update generated bashrc, git config, etc.
# - Update this cron task
command <<-CMD.gsub(/\s{2,}/, ' ').strip
cd $DOTFILES_PATH && (
./setup/symlinks.sh;
./setup/bashrc.sh;
./setup/git_config.sh;
ensure_gem whenever && whenever -f schedule.rb -i)
CMD
end
every 30.minutes do
# Fetch all remotes for indexed git repos, and fast-forward if possible
# Send notifications using notify-send
git_index "update-all-with-notifications"
# Update Travis CI build statuses for current branch of indexed git repos
git_index "batch-cmd update_travis_ci_status"
end
every 10.minutes do
command "refresh_zpint_hosts"
end
Jump to Line
Something went wrong with that request. Please try again.