Skip to content

opsxcq/docker-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Task

Docker Pulls

This is a simple way to run tasks in a certain interval inside a docker container.

Customizating your task

This image doesn't do anything by itself, you need to extend (FROM) this image to make it work as you want. Copy your task, or the script to start your task, to /task.sh, that it's done.

Running your task

Just start your task container as

docker run --rm -it \
	-e "INVERTAL=3600" \
	-e "MODE=cron"
	yourimage

Variables

  • INTERVAL - The interval, in seconds, between each task execution.
  • MODE - The operation mode, cron is the only one at the moment, and forever, see deprecation notice bellow.

Deprecation notice

This project is deprecated, move to tasker to have a better task management.

About

[DEPRECATED] A simple way to tasks in a container in intervals

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published