Advertisement
c2c2_

Docker: Schedule cron without interaction

Nov 13th, 2024 (edited)
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. ### Schedule cron job to run a command inside of a container. Typically I would use -it. Those switches cannot be used with a Cron job.
  2.  
  3. docker exec containername command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement