Thanabodee Charoenpiriyakij
08/14/2020, 10:41 AMThanabodee Charoenpiriyakij
08/14/2020, 10:44 AMScheduler
menu on top left display my scheduler twice. I have an only one scheduler at this time.
2. I change the scheduler time to 10:37
but the time that display in Scheduler menu still display At 10:00 AM
but when I click scheduler pipline on the buttom left, I see it display At 10:37 AM
which is correct. (See the image on my thread).Thanabodee Charoenpiriyakij
08/14/2020, 11:41 AMThanabodee Charoenpiriyakij
08/14/2020, 1:33 PMno-cache
in this line https://github.com/dagster-io/dagster/blob/master/js_modules/dagit/src/schedules/SchedulerRoot.tsx#L20. It show 2 entry which response from graphql api correctly.alex
08/14/2020, 2:35 PMdagster schedule debug
and share the output ?Thanabodee Charoenpiriyakij
08/14/2020, 2:40 PMScheduler Info
==============
Running Cron Jobs:
37 10 * * * /opt/dagster/local/schedules/scripts/762e0a64621807622bed9c1e4e23913894d68c44.sh > /opt/dagster/local/schedules/logs/762e0a64621807622bed9c1e4e23913894d68c44/scheduler.log 2>&1 # dagster-schedule: 762e0a64621807622bed9c1e4e23913894d68c44
Scheduler Storage Info
======================
calculate_bot_spending_daily:
cron_schedule: 0 10 * * *
pipeline_origin_id: 762e0a64621807622bed9c1e4e23913894d68c44
python_path: /usr/local/bin/python
repository_origin_id: c2277a61aeb3c20452da8f00241590c3295970f1
repository_pointer: -f /lfc_pipeline/repository.py -a lfc_repository
schedule_origin_id: 762e0a64621807622bed9c1e4e23913894d68c44
status: RUNNING
export_reward_redemptions_daily:
cron_schedule: '*/2 * * * *'
pipeline_origin_id: 80f46335e5e3efb6224abf1a2a6bf54a74619265
python_path: /root/.local/share/virtualenvs/lfc_pipeline-idEoWM_E/bin/python
repository_origin_id: 162bd720de7438181349f39f6059e63e30f7d81f
repository_pointer: -f /lfc_pipeline/repository.py -a lfc_repository
schedule_origin_id: 80f46335e5e3efb6224abf1a2a6bf54a74619265
status: RUNNING
calculate_bot_spending_daily:
cron_schedule: 37 10 * * *
pipeline_origin_id: 762e0a64621807622bed9c1e4e23913894d68c44
python_path: /usr/local/bin/python
repository_origin_id: c2277a61aeb3c20452da8f00241590c3295970f1
repository_pointer: -f /lfc_pipeline/repository.py -a lfc_repository
schedule_origin_id: 762e0a64621807622bed9c1e4e23913894d68c44
status: RUNNING
Thanabodee Charoenpiriyakij
08/14/2020, 2:40 PMThanabodee Charoenpiriyakij
08/14/2020, 2:42 PM0 10 * * *
.alex
08/14/2020, 2:47 PMThanabodee Charoenpiriyakij
08/14/2020, 2:50 PMalex
08/14/2020, 2:51 PMThanabodee Charoenpiriyakij
08/14/2020, 2:52 PMlocal_artifact_storage:
module: dagster.core.storage.root
class: LocalArtifactStorage
config:
base_dir: /opt/dagster/local/
run_storage:
module: dagster_postgres.run_storage
class: PostgresRunStorage
config:
postgres_db:
db_name:
env: DAGSTER_PG_DB
hostname:
env: DAGSTER_PG_HOST
password:
env: DAGSTER_PG_PASSWORD
port: 5432
username:
env: DAGSTER_PG_USERNAME
event_log_storage:
module: dagster_postgres.event_log
class: PostgresEventLogStorage
config:
postgres_db:
db_name:
env: DAGSTER_PG_DB
hostname:
env: DAGSTER_PG_HOST
password:
env: DAGSTER_PG_PASSWORD
port: 5432
username:
env: DAGSTER_PG_USERNAME
compute_logs:
module: dagster.core.storage.local_compute_log_manager
class: LocalComputeLogManager
config:
base_dir: /lfc_pipeline/storage
schedule_storage:
module: dagster_postgres.schedule_storage
class: PostgresScheduleStorage
config:
postgres_db:
db_name:
env: DAGSTER_PG_DB
hostname:
env: DAGSTER_PG_HOST
password:
env: DAGSTER_PG_PASSWORD
port: 5432
username:
env: DAGSTER_PG_USERNAME
scheduler:
module: dagster_cron.cron_scheduler
class: SystemCronScheduler
config:
{}
run_launcher:
module: dagster
class: DefaultRunLauncher
config:
{}
telemetry:
enabled: false
opt_in:
NoneType
Thanabodee Charoenpiriyakij
08/14/2020, 2:52 PMalex
08/14/2020, 2:54 PMschedules
tableThanabodee Charoenpiriyakij
08/14/2020, 2:56 PMalex
08/14/2020, 2:57 PMgist
or something I am having a hard time reading the screenshotThanabodee Charoenpiriyakij
08/14/2020, 3:01 PMalex
08/14/2020, 3:03 PM077556779d6339d405eedf4cf6e173e19e7d76b8
or just run dagster schedule wipe
if you dont care about losing tick
dataThanabodee Charoenpiriyakij
08/14/2020, 3:13 PMdagster schedule wipe
. But why it’s happening. 🤔Thanabodee Charoenpiriyakij
08/14/2020, 4:08 PMdaily_schedule
from v0.8.7.
2. Then I ran dagster schedule up
and turn schedule on in dagit. See 1 schedules pipeline in the schedule menu.
3. Upgrading dagster and dagit to v0.9.2.
4. Run dagster schedule up
again.
5. Found two schedules show in schedule menu and both of are turn off in the image below:alex
08/14/2020, 4:09 PMsashank
08/14/2020, 4:09 PMThanabodee Charoenpiriyakij
08/14/2020, 4:13 PMsashank
08/14/2020, 4:38 PMdagster schedule wipe
before dagster schedule up
will put you in the right stateThanabodee Charoenpiriyakij
08/14/2020, 4:41 PM