~canonical-ci-engineering/charms/precise/tarmac/trunk

« back to all changes in this revision

Viewing changes to templates/cron.tmpl

  • Committer: Evan Dandrea
  • Date: 2014-06-30 13:00:56 UTC
  • Revision ID: evan.dandrea@canonical.com-20140630130056-il8to9wmzdstx4ai
There's no need for env when we have an environment variables section.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
SHELL=/bin/sh
4
4
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
5
5
{{environment}}
 
6
HOME={{var_dir}}
 
7
TARMAC_CONFIG_HOME={{conf_dir}} 
6
8
 
7
9
# m h dom mon dow user command
8
 
{{schedule}} {{user}} env HOME={{var_dir}} TARMAC_CONFIG_HOME={{conf_dir}} flock -n {{var_dir}}/tarmac.lock tarmac merge -d >>{{log_dir}}/cron.log 2>&1
 
10
{{schedule}} {{user}} flock -n {{var_dir}}/tarmac.lock tarmac merge -d >>{{log_dir}}/cron.log 2>&1