Closed mcandre closed 11 years ago
We could generalize node-crontab a little bit to improve support for other *nix environments, and eventually for Windows.
For example, crontab may not always be installed in /usr/bin, so it might be a good idea to remove the absolute path from the COMMAND variable.
/usr/bin
COMMAND
https://github.com/dachev/node-crontab/blob/master/lib/index.js#L4
Absolute path to crontab has been removed in the latest version.
We could generalize node-crontab a little bit to improve support for other *nix environments, and eventually for Windows.
For example, crontab may not always be installed in
/usr/bin
, so it might be a good idea to remove the absolute path from theCOMMAND
variable.https://github.com/dachev/node-crontab/blob/master/lib/index.js#L4