esztermarton
12/16/2020, 2:51 PMdaniel
12/16/2020, 4:21 PMesztermarton
12/16/2020, 4:26 PMdaniel
12/16/2020, 4:30 PMesztermarton
12/16/2020, 4:33 PMsashank
12/16/2020, 4:35 PMdagster schedule debug
esztermarton
12/16/2020, 4:36 PMsashank
12/16/2020, 4:36 PMdagster schedule logs {schedule_name}
esztermarton
12/16/2020, 4:37 PMsashank
12/16/2020, 4:42 PMesztermarton
12/16/2020, 4:45 PMScheduler Configuration
=======================
Scheduler:
module: dagster_cron.cron_scheduler
class: SystemCronScheduler
config:
{}
Scheduler Info
==============
Running Cron Jobs:
* * * * * /app/schedules/scripts/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad.sh > /app/schedules/logs/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad/scheduler.log 2>&1 # dagster-schedule: c0687ec3dc2f13c099a4e27b325f848bdbe1dfad
Scheduler Storage Info
======================
my_minute_schedule:
cron_schedule: '* * * * *'
pipeline_origin_id: ba44b35a377e542ff92a40e47d300290f00ca809
python_path: /opt/bitnami/python/bin/python
repository_origin_id: 62e469cf665b76477f27c2c06d7e99cce4e2be73
repository_pointer: -f /app/lena_tweets/repo.py -a repo -d /app
schedule_origin_id: ba44b35a377e542ff92a40e47d300290f00ca809
status: STOPPED
my_minute_schedule_tweet:
cron_schedule: '* * * * *'
pipeline_origin_id: 67617e3619ce2afdce2b2046a2e80871ebb03eba
python_path: /opt/bitnami/python/bin/python
repository_origin_id: 62e469cf665b76477f27c2c06d7e99cce4e2be73
repository_pointer: -f /app/lena_tweets/repo.py -a repo -d /app
schedule_origin_id: 67617e3619ce2afdce2b2046a2e80871ebb03eba
status: STOPPED
my_minute_schedule_tweet_history:
cron_schedule: '* * * * *'
pipeline_origin_id: c0687ec3dc2f13c099a4e27b325f848bdbe1dfad
python_path: /opt/bitnami/python/bin/python
repository_origin_id: 62e469cf665b76477f27c2c06d7e99cce4e2be73
repository_pointer: -f /app/lena_tweets/repo.py -a repo -d /app
schedule_origin_id: c0687ec3dc2f13c099a4e27b325f848bdbe1dfad
status: RUNNING
daniel
12/16/2020, 4:46 PMesztermarton
12/16/2020, 4:47 PM* * * * * /app/schedules/scripts/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad.sh > /app/schedules/logs/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad/scheduler.log 2>&1 # dagster-schedule: c0687ec3dc2f13c099a4e27b325f848bdbe1dfad
sashank
12/16/2020, 4:47 PMcrontab -l
output is included right there at the top of this debug
output already actually/app/schedules/logs/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad/scheduler.log
esztermarton
12/16/2020, 4:48 PMsashank
12/16/2020, 4:48 PM/app/schedules/scripts/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad.sh
yourself and seeing if you get any errorsesztermarton
12/16/2020, 4:49 PMsashank
12/16/2020, 4:50 PMesztermarton
12/16/2020, 4:52 PMdaniel
12/16/2020, 4:53 PMesztermarton
12/16/2020, 4:55 PMdaniel
12/16/2020, 4:56 PMsashank
12/16/2020, 5:05 PMshould_execute
function takes one argument (a ScheduleExecutionContext
). So just change your method
def outstanding_tweet_history():
to be:
def outstanding_tweet_history(_):
logs
command should return the path to the folder of that file returned/app/schedules/logs/c0687ec3dc2f13c099a4e27b325f848bdbe1dfad/
they contain your erroresztermarton
12/16/2020, 10:24 PMsashank
12/16/2020, 10:40 PM