Files
my-website-v2/backend/task
Wyatt J. Miller 4f8e7a654c
Some checks failed
Build and Release Docker Images / create-release (push) Has been skipped
Build and Release Docker Images / build-and-push (./frontend, Dockerfile, my-website-v2_frontend) (push) Failing after 17m1s
Build and Release Docker Images / build-and-push (./backend, task/Dockerfile, my-website-v2_task) (push) Failing after 23m37s
Build and Release Docker Images / build-and-push (./backend, public/Dockerfile, my-website-v2_public) (push) Failing after 21m10s
modified dockerfiles some more
2025-07-19 21:52:36 -04:00
..
2025-07-19 15:13:53 -04:00
2025-07-19 00:44:08 -04:00
2025-07-16 22:02:41 -04:00
2025-07-19 21:52:36 -04:00

Task scheduler

also known as task

What is this?

This is a task runner/scheduler programs that will fire off various tasks. These tasks can be anything from an blog post import task to a RSS generator task. Additionally, there is task logs inside the database so that you can keep track of tasks when something goes wrong.

Things you should know

task uses a .env file at the root of the project. The file takes standard environment variables (like enviroment variables you would put into a .bashrc or ad-hoc into your shell).

For task to work properly, please make sure to first create the .env file, then fill out the following environment variables:

  • BASE_URI_API - needed for communicating with public
  • DATABASE_URL - needed for communicating to Postgres
  • REDIS_URL - needed for communicating with the cache (Redis or Valkey)
  • S3_ACCESS_KEY - needed for Amazon S3 (or compatible services) storage
  • S3_SECRET_KEY - needed for Amazon S3 (or compatible services) storage
  • S3_BUCKET - needed for Amazon S3 (or compatible services) storage