|
Post by rayancaleb on Jan 12, 2018 8:20:04 GMT
Hii.. I want to run docker by “docker run” command and want to pass crontab command like bleow. crontab -l | ‘{ /bin/cat; /bin/echo "*/5 * * * * "; }’ | crontab - The above command will create a cronscript which will run every 5 mins. I have already done it in Dockerfile, but I need to use it with “docker run” command because I am creating docker from code base on creating schedules. In short this docker will be created when job is scheduled. Thanks! I didn't find the right solution from the Internet. References:- forums.docker.com/t/how-to-pass-crontab-command-when-running-docker/43936Medical product video
|
|