Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

manhavn/crontab-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRONTAB DOCKER

  • Dockerfile
FROM alpine AS runtime
RUN apk add curl rsync openssh
RUN echo 'if [ $(sh -c "crontab /root/crontab"; echo $?) = 0 ]; then crond -f -l 8;else echo 1;fi' >> /crond.sh
ENTRYPOINT ["sh", "/crond.sh"]
  • Docker Build CRONTAB
sh build.sh
  • Run CRONTAB
sh start.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published