第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

cron 設(shè)置的定時無效,0 19 14 ? * 5 *

cron 設(shè)置的定時無效,0 19 14 ? * 5 *

largeQ 2019-01-27 20:54:25
想設(shè)置一個定時時間,表示每周四下午14點19分執(zhí)行,語句如:later.parse.cron('0 19 14 ? * 5 *') 但就是一直沒有執(zhí)行效果,換成later.parse.text('at every 1 min')是可以執(zhí)行的,第一條語句是有什么問題嗎?
查看完整描述

1 回答

?
忽然笑

TA貢獻1806條經(jīng)驗 獲得超5個贊

cron 各個位置對應(yīng)的時間

# ┌───────────── minute (0 - 59)# │ ┌───────────── hour (0 - 23)# │ │ ┌───────────── day of the month (1 - 31)# │ │ │ ┌───────────── month (1 - 12)# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;# │ │ │ │ │                                   7 is also Sunday on some systems)# │ │ │ │ │# │ │ │ │ │# * * * * * command to execute

所以應(yīng)該這樣設(shè)

later.parse.cron('19 14 ? * 4')
later.parse.cron
wiki Cron


查看完整回答
反對 回復(fù) 2019-01-27
  • 1 回答
  • 0 關(guān)注
  • 1140 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號