This package has been deprecated

Author message:

This package is no longer supported.

cron-task-runner

1.0.1 • Public • Published

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-js package in case an error occurs.

Setup

  1. Clone the repository into any location on you machine.
  2. Create a shortcut from the main node executable (name it node.lnk).
  3. Configure the shortcut to use the current directory as the cwd.
  4. Create a shortcut for start.vbs in the windows Startup directory.
  5. Configure the mailgun settings in a copy of the .env.default file named .env.
  6. Configure the tasks to be executed in a copy of the config.json.default file named config.json.
  7. Execute the script npm run deploy to build the project.
  8. Execute the script npm start to 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.

Readme

Keywords

Package Sidebar

Install

npm i cron-task-runner

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • player1os