Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 557 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 557 Bytes

Project Goal

I created this project to fill a personal need to provide crontab image for simple cron tasks

Info

  • Base crontab image

How to run

1. Using docker-compose

version: '3'

services:
  cron:
    image: smartycoder/crontab:base
    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:base