L
L
Leonid Gorshkov2021-05-01 23:33:35
Regular Expressions
Leonid Gorshkov, 2021-05-01 23:33:35

How to run cron in docker container as user?

Good afternoon. I run dockerfile from docker-compose.yml in which I install cron.
How can I run it?

(in the dockerfile I use the USER www-data command)
From the root, the cron is launched, but from the user (and any, not only www-data) it does not start.

608dbb1133ef3931186761.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2018-09-25
@Metalofon

https://regex101.com/r/t99qZh/1
https://ideone.com/RWYyPJ

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question