Evan
Can you actually have more than one set of global environment variables
in a crontab? The manpage didn't appear to say, but all their examples
show only one entry of each type.
But I'd bet the following would work more to your liking:
Cron { # See LanguageTutorial#resource-defaults
environment => [ "ROOT=/scratch", MAILTO="she...@redhat.com" ]
}
cron { foo_sync:
command => "NAME=foo /usr/local/sbin/svnsync",
user => root,
minute => 0,
}
cron { bar_sync:
command => "NAME=bar /usr/local/sbin/svnsync",
user => root,
minute => 0,
}
--
Mike Renfro / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University