Cron container added

This commit is contained in:
tokslaw7
2023-12-03 04:50:01 +00:00
parent 9c0a665622
commit 84c2e253b0
7 changed files with 29 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
logs/*
cron/dev/cron.d/*.std*
cron/qa/cron.d/*.std*
cron/prod/cron.d/*.std*
crontabs/*.db
crontabs/logs/*
View File
View File
+5
View File
@@ -0,0 +1,5 @@
* * * * * ((({ ; } | tee /etc/crontabs/ralOdkkC3eDKO3gh.stdout) 3>&1 1>&2 2>&3 | tee /etc/crontabs/ralOdkkC3eDKO3gh.stderr) 3>&1 1>&2 2>&3)
*/30 * * * * ((({ /usr/bin/curl -o /var/log/wrenchboard_cron.log https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/cron; } | tee /etc/crontabs/BWiNQEUyST1NQPpV.stdout) 3>&1 1>&2 2>&3 | tee /etc/crontabs/BWiNQEUyST1NQPpV.stderr) 3>&1 1>&2 2>&3); if test -f /etc/crontabs/BWiNQEUyST1NQPpV.stderr; then date >> "/crontab-ui/crontabs/logs/BWiNQEUyST1NQPpV.log"; cat /etc/crontabs/BWiNQEUyST1NQPpV.stderr >> "/crontab-ui/crontabs/logs/BWiNQEUyST1NQPpV.log"; fi; if test -f /etc/crontabs/BWiNQEUyST1NQPpV.stdout; then date >> "/crontab-ui/crontabs/logs/BWiNQEUyST1NQPpV.stdout.log"; cat /etc/crontabs/BWiNQEUyST1NQPpV.stdout >> "/crontab-ui/crontabs/logs/BWiNQEUyST1NQPpV.stdout.log"; fi
*/10 * * * * ((({ /usr/bin/curl -o /var/log/wrenchboard_cron.log https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/cron; } | tee /etc/crontabs/OXokwkGTFLjMDEs1.stdout) 3>&1 1>&2 2>&3 | tee /etc/crontabs/OXokwkGTFLjMDEs1.stderr) 3>&1 1>&2 2>&3); if test -f /etc/crontabs/OXokwkGTFLjMDEs1.stderr; then date >> "/crontab-ui/crontabs/logs/OXokwkGTFLjMDEs1.log"; cat /etc/crontabs/OXokwkGTFLjMDEs1.stderr >> "/crontab-ui/crontabs/logs/OXokwkGTFLjMDEs1.log"; fi; if test -f /etc/crontabs/OXokwkGTFLjMDEs1.stdout; then date >> "/crontab-ui/crontabs/logs/OXokwkGTFLjMDEs1.stdout.log"; cat /etc/crontabs/OXokwkGTFLjMDEs1.stdout >> "/crontab-ui/crontabs/logs/OXokwkGTFLjMDEs1.stdout.log"; fi
*/5 * * * * ((({ /usr/bin/curl -o /var/log/wrenchboard.log https://wrenchboard.com/; } | tee /etc/crontabs/bs9sfJ5FTzl4YkvW.stdout) 3>&1 1>&2 2>&3 | tee /etc/crontabs/bs9sfJ5FTzl4YkvW.stderr) 3>&1 1>&2 2>&3)
* * * * * ((({ /bin/sh -c echo "`date >> /var/log/1min.log`"; } | tee /etc/crontabs/dQWYEeRnf2ZXvFbQ.stdout) 3>&1 1>&2 2>&3 | tee /etc/crontabs/dQWYEeRnf2ZXvFbQ.stderr) 3>&1 1>&2 2>&3)
+18
View File
@@ -0,0 +1,18 @@
version: "3"
services:
wrenchboard-cron:
image: alseambusher/crontab-ui:0.3.16
hostname: wrenchboard-cron
container_name: wrenchboard-cron
privileged: true
restart: unless-stopped
environment:
- BASIC_AUTH_USER=admin
- BASIC_AUTH_PWD=wrenchboard
volumes:
- ./crontabs/:/crontab-ui/crontabs/
- ./logs:/var/log
- ./${CRON_ENV:-dev}/cron.d:/etc/crontabs
ports:
- 8000:8000
View File
View File