seabreeze-project / seabreeze

🌊 [WIP] Seabreeze is a really simple container orchestration tool with superpowers.
https://seabreeze.run
MIT License
1 stars 0 forks source link

Tasks (Cronjobs) #1

Open secondtruth opened 4 months ago

secondtruth commented 4 months ago

Implement a Cron System to allow scheduling commands to run automatically in containers based on a defined schedule.

Details

Example Configuration

Definition of cron jobs in the project manifest as follows:

tasks:
  - schedule: "0 2 * * *"
    command: "/path/to/backup/script.sh"
    service: "db-service"
  - schedule: "*/5 * * * *"
    command: "php /path/to/maintenance/script.php"
    service: "web-service"

Libraries

Tasks