0.2.0 • Published 3 years ago

cron-page v0.2.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
3 years ago

cron-page

Simple CLI tool & library that opens a webpage on a cron schedule.

TrayMenu
Screenshot of tray icon.Screenshot of tray menu.

Installation

Run the following to quickly get started:

npm i -g install cron-page
cron-page setup

(I haven't been able to get it to work via npx, but let me know if you have any tips!)

CLI

setup (install)

cron-page setup

This will register the app to run when the current user logs in. It can also validate the cron schedule and shows the schedule explained so you can rest assured it's correct.

run

cron-page run <url> [--schedule=<cron schedule>]

The default cron schedule is every hour from 9:55AM-4:55PM on Monday through Friday (55 9-17 * * 1-5).

remove (uninstall)

cron-page remove

This unregisters the app from the user startup process.

Library

cron-tab is written in TypeScript, so all types are available via intellisense. See src/bin.ts for an example of working with the CronPage class.

License

GPLv3

0.2.0

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago