1.0.1 • Published 8 years ago
cron-task-runner v1.0.1
Cron Task Runner
This project is a simple wrapper around the cron npm package that enables the configuration of cron tasks on a non-admin windows environment.
Features
- Verbose logging the output of the executable.
- Sending a mail using the
mailgun-jspackage in case an error occurs.
Setup
- Clone the repository into any location on you machine.
- Create a shortcut from the main node executable (name it
node.lnk). - Configure the shortcut to use the current directory as the
cwd. - Create a shortcut for
start.vbsin the windowsStartupdirectory. - Configure the mailgun settings in a copy of the
.env.defaultfile named.env. - Configure the tasks to be executed in a copy of the
config.json.defaultfile namedconfig.json. - Execute the script
npm run deployto build the project. - Execute the script
npm startto run the task runner.
Maintenace
Regretfully the project does not currently support any way of detection for existing instaces of the task runner. The only method of killing an existing task runner process is to end it in the Task Manager.
1.0.1
8 years ago