Closed Tuna9129 closed 2 years ago
I don't know if this was resolved, but if you go to the failed task and look at the logs (click the icon that looks like a document under Actions) then you'll see the errors. It looks like you missed pip installing a package in your script.
hello! thank you! had to upgrade pip and sys path insert cortex.
Describe the bug Cron job (digital_clinic_daily_q in portainer) not running at designated time. I have tested different times but it doesn't seem to matter what time I specify. When I run the script from terminal (chang/cron_jobs/daily_data_q_checks.sh), it works fine and sends me the correct msgs on the specified slack channel Seems like something is wrong with maybe my container config?
To Reproduce Steps to reproduce the behavior: Portainer --> cron stack --> digital_clinic_daily_q (all the way at the bottom) Shell script can be found at /chang/cron_jobs/daily_data_q_checks.sh Python script can be found at /chang/cron_jobs/daily_q.py
Expected behavior Expected the cron job to run at the time specified in the cron stack in portainer
Screenshots
Additional context Thank you!