Sign inSign up

smartycoder/crontab

By smartycoder

•Updated over 6 years ago

Image
0

366

smartycoder/crontab repository overview

⁠Project Goal

I created this project to fill a personal need to provide crontab image to execute scheduled tasks (Java or PHP) inside Docker container.

More on Github⁠

⁠Features

  • Easy to manage
  • Based on Centos7

⁠How to run

⁠1. Using docker-compose
version: '3'

services:
  cron:
    image: smartycoder/crontab:jdk8
    restart: always
    volumes:
      - ./volumes/opt:/opt
      - ./volumes/etc/crontab:/etc/crontab
    networks:
      - default
⁠2. Using docker run
docker run -d -v ./volumes/opt:/opt -v ./volumes/etc/crontab:/etc/crontab smartycoder/crontab:jdk8

Tag summary

Content type

Image

Digest

Size

301.2 MB

Last updated

over 6 years ago

docker pull smartycoder/crontab:php7.3.17