Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
FMotalleb committed Jun 30, 2024
1 parent 81e42e9 commit 6b8be8d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 77 deletions.
8 changes: 5 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ LOG_FORMAT=ansi
LOG_FILE=/var/log/crontab-go.log
LOG_STDOUT=true
LOG_LEVEL=debug
SHELL=/usr/bin/bash

SHELL=/bin/bash
SHELL_ARGS=-c

WEBSERVER_LISTEN_ADDRESS=0.0.0.0
WEBSERVER_ADDRESS=
WEBSERVER_PORT=
WEBSERVER_USERNAME=admin
WEBSERVER_PASSWORD=TEST
WEBSERVER_PASSWORD=f2f9899c-567c-455f-8a82-77a2c66e736e

TZ=Asia/Tehran
85 changes: 11 additions & 74 deletions config.local.yaml
Original file line number Diff line number Diff line change
@@ -1,81 +1,18 @@
# yaml-language-server: $schema=schema.json
#TODO: unix/tcp socket controller
#TODO: prometheus exporter

jobs:
- description: Imported from cron file
events:
- cron: 0 * * * *
hooks: {}
name: "FromCron: 0 * * * *"
tasks:
- command: /usr/bin/wget -O - -q -t 1 http://localhost/cron.php
- description: Imported from cron file
events:
- cron: "* * * * *"
hooks: {}
name: "FromCron: * * * * *"
tasks:
- command: /var/www/devdaily.com/bin/check-apache.sh
- description: Imported from cron file
events:
- cron: 5 10,22 * * *
hooks: {}
name: "FromCron: 5 10,22 * * *"
tasks:
- command: /var/www/devdaily.com/bin/mk-new-links.php
- description: Imported from cron file
events:
- cron: 30 4 * * *
hooks: {}
name: "FromCron: 30 4 * * *"
tasks:
- command: /var/www/devdaily.com/bin/create-all-backups.sh
- description: Imported from cron file
events:
- cron: 5 0,4,10,16 * * *
hooks: {}
name: "FromCron: 5 0,4,10,16 * * *"
tasks:
- command: /var/www/devdaily.com/bin/create-cat-list.sh
- description: Imported from cron file
events:
- cron: 5 0 * * *
hooks: {}
name: "FromCron: 5 0 * * *"
tasks:
- command: /var/www/devdaily.com/bin/resetContactForm.sh
- description: Imported from cron file
events:
- cron: 0,20,40 * * * *
hooks: {}
name: "FromCron: 0,20,40 * * * *"
tasks:
- command: /var/www/bin/ads/freshMint.sh
- description: Imported from cron file
events:
- cron: 5,25,45 * * * *
hooks: {}
name: "FromCron: 5,25,45 * * * *"
- name: Test Job
tasks:
- command: /var/www/bin/ads/greenTaffy.sh
- description: Imported from cron file
events:
- cron: 10,30,50 * * * *
hooks: {}
name: "FromCron: 10,30,50 * * * *"
tasks:
- command: /var/www/bin/ads/raspberry.sh
- description: Imported from cron file
events:
- cron: 15,35,55 * * * *
hooks: {}
name: "FromCron: 15,35,55 * * * *"
tasks:
- command: /var/www/bin/ads/robinsEgg.sh
- description: Imported from cron file
- command: echo 1
retry-delay: 5s
# connections:
# - image: docker-mysql-database-phpmyadmin
# volumes:
# - "/home/motalleb/Downloads:/var/local/test"
# env:
# SHELL: /bin/bash
events:
- on-init: true
hooks: {}
name: "FromCron: @reboot"
tasks:
- command: test
- web-event: test

0 comments on commit 6b8be8d

Please sign in to comment.