Sign inSign up

strm/task

By strm

•Updated almost 9 years ago

Docker task

Image
0

2.4K

strm/task repository overview

⁠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.

Tag summary

Content type

Image

Digest

Size

209.4 MB

Last updated

almost 9 years ago

docker pull strm/task