docker
+ cronie
There's no output unless any debug flag is set. The debug flags are:
ext
- make other flags more verbosesch
- schedulingproc
- process controlpars
- parsingload
- database loadingmisc
test
- test mode: don't execute any commandsbit
- make it more verbose while not enabling any other flags?
docker-compose.yml
:
services:
cronie:
build: .
command: crond -fx bit
Dockerfile
:
FROM alpine:3.17
COPY crontab .
RUN set -x \
&& apk add --no-cache cronie shadow \
&& useradd -m app \
&& crontab -u app crontab
crontab
:
* * * * * date >/dev/null 2>&1