@wocker/cron
v1.0.3
Published
Cli tool for cron
Downloads
7
Readme
@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\"'