1.0.3 • Published 2 months ago

@wocker/cron v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@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\"'
1.0.3

2 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

4 months ago