问题
Does anyone know of a good alternative to cron? I would like something that can be run with different time zones.
回答1:
You may consider Quartz (a java-based solution), that can take advantage of Date build in the appropriate TimeZone.
回答2:
For the future readers, consider Chronos, developed and open sourced by AirBnB. check it out at http://nerds.airbnb.com/introducing-chronos/
回答3:
Just for the sake of completeness, cronie supports the CRON_TZ
variable.
回答4:
MacOS X has replaced cron
, at
, xinet
, and watchdog
with open source launchd
(Wikipedia). Process properties are described in a XML file, which allows passing arguments. Switching timezones should trivial.
来源:https://stackoverflow.com/questions/288349/alternative-to-cron