gregghz / Watcher

Watcher is a daemon that watches specified files/folders for changes and fires commands in response to those changes. It is similar to incron, however, configuration uses a simpler to read yaml file instead of a plain text file. It's also written in Python, making it easier to hack.
MIT License
245 stars 128 forks source link

$datetime needed, trying to implement but if someone has the solution... #12

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hi all,

I need to be able to ask for a $datetime output in the jobs commands. I'm trying to implement it. If someone has an idea on how to do it the best way, it would be nice to share, I would then implement it that way, making tests and share the code again.

Ok found it...will push my code soon, just looking at the more relevant way to export date/time, using system time or tzdata.