@wocker/cron
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@wocker/cron

For docker-in-docker container

Installation

npm install -g @wocker/cron

Commands

Edit crontab for container

This command will open your editor:

ws-cron edit -c=<container>

Exec command in container

ws-cron exec -c=<container> <...args>

Example

$ echo -e "* * * * * bash -c 'echo \"Test\"'\n" | ws-cron edit -c=test-container
$ crontab -l
* * * * * ws-cron exec -c=test-container bash -c 'echo \"Test\"'

Readme

Keywords

Package Sidebar

Install

npm i @wocker/cron

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

21 kB

Total Files

24

Last publish

Collaborators

  • kearisp