ciao @fccview, ho scaricato e avviato tramite portainer CronMaster con questa config:
services: cronmaster: image: ghcr.io/fccview/cronmaster:latest container_name: cronmaster user: "root" ports: - "40123:3000" environment: - NODE_ENV=production - NEXT_PUBLIC_CLOCK_UPDATE_INTERVAL=30000 - AUTH_PASSWORD=very_strong_password - HOST_CRONTAB_USER=root - DEBUGGER=true - HOST_PROJECT_DIR=/home/cronmaster volumes: - /var/run/docker.sock:/var/run/docker.sock - /home/cronmaster/scripts:/app/scripts - /home/cronmaster/data:/app/data - /home/cronmaster/snippets:/app/snippets pid: "host" privileged: true restart: always init: true
nei log con debugger attivo ottengo:
MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed) MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed) MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed) MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed)
il job:
copia Pages
Schedule: 0 * * * *
Command: /home/cronmaster/data/cron-log-wrapper.sh "kpk2-74ri" docker exec rclone sh -c "RCLONE_CONFIG=/config/rclone/rclone.conf rclone copy icloud:Pages folder_Francesca:Francesca/icloud/Pages"
funziona perfettamente
mentre il job:
prova
Schedule: * * * * *
Command: /home/cronmaster/data/cron-log-wrapper.sh "7805-xxd9" docker exec rclone sh -c "RCLONE_CONFIG=/config/rclone/rclone.conf rclone copy icloud:Pages folder_Francesca:Francesca/icloud/Pages"
fallisce. da dentro il container vedo che la cartella e il relativo file di log per 7805-xxd9 non vengono mai creati
ciao @fccview, ho scaricato e avviato tramite portainer CronMaster con questa config:
services: cronmaster: image: ghcr.io/fccview/cronmaster:latest container_name: cronmaster user: "root" ports: - "40123:3000" environment: - NODE_ENV=production - NEXT_PUBLIC_CLOCK_UPDATE_INTERVAL=30000 - AUTH_PASSWORD=very_strong_password - HOST_CRONTAB_USER=root - DEBUGGER=true - HOST_PROJECT_DIR=/home/cronmaster volumes: - /var/run/docker.sock:/var/run/docker.sock - /home/cronmaster/scripts:/app/scripts - /home/cronmaster/data:/app/data - /home/cronmaster/snippets:/app/snippets pid: "host" privileged: true restart: always init: truenei log con debugger attivo ottengo:
MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed) MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed) MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed) MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] MIDDLEWARE - cookieName: cronmaster-session MIDDLEWARE - NODE_ENV: production MIDDLEWARE - HTTPS: undefined MIDDLEWARE - sessionId: undefined MIDDLEWARE - cookies: [] [SSE] Broadcast system-stats to 1 clients (0 failed)il job:
copia Pages
Schedule: 0 * * * *
Command: /home/cronmaster/data/cron-log-wrapper.sh "kpk2-74ri" docker exec rclone sh -c "RCLONE_CONFIG=/config/rclone/rclone.conf rclone copy icloud:Pages folder_Francesca:Francesca/icloud/Pages"
funziona perfettamente
mentre il job:
prova
Schedule: * * * * *
Command: /home/cronmaster/data/cron-log-wrapper.sh "7805-xxd9" docker exec rclone sh -c "RCLONE_CONFIG=/config/rclone/rclone.conf rclone copy icloud:Pages folder_Francesca:Francesca/icloud/Pages"
fallisce. da dentro il container vedo che la cartella e il relativo file di log per 7805-xxd9 non vengono mai creati