1. 程式人生 > >Support for specifying both a day-of-week AND a day-of-month parameter is not implemented

Support for specifying both a day-of-week AND a day-of-month parameter is not implemented

在使用排程器的時候,遇到了如下的錯誤:

Support for specifying both a day-of-week AND a day-of-month parameter is not implemented.

這個錯誤的原因就是因為你的Cron表示式配置錯誤了:
即,你把日期和周同時指定了值(*也代表指定值,只是任意值而已)

你的配置可能是:0 18 17 * * ,或者0 18 17 * 2-6,或者0 18 17 10 * 2-6等等。

如果你的日期和周同時為?會報如下錯誤:

'?' can only be specfied for Day-of-Month -OR
- Day-of-Week.

總結:當我們配置日期和周時,我們應該注意只能指定二者中的一個,另一個必須為?。如:0 18 17 * * ?或者0 18 17 ? * 2-6等等。

相關推薦

Support for specifying both a day-of-week AND a day-of-month parameter is not implemented

在使用排程器的時候,遇到了如下的錯誤: Support for specifying both a day-of-week AND a day-of-month parameter is not implemented. 這個錯誤的原因就是因為你的Cro

解決:Specifying a namespace in include() without providing an app_name和XXX is not a registered namespace問題

info clu .py 添加 圖片 alt support 遇到 without python3 Django 環境下,如果你遇到namespace沒有註冊以及在根目錄下urls.py中的include方法的第二個參數namespace添加之後就出錯的問題。 出錯問題:

[GeeksForGeeks] Check sum of covered and uncovered nodes of binary tree

val ive tput art until size appear logs string Given a binary tree, you need to check whether sum of all covered elements is equal to sum

The Freedom of WHY and the Limits of HOW

The Freedom of WHY and the Limits of HOWBirds are free, but even for them the sky's the limit (by Maurice Schalker on Unsplash)I’m Florian and I co-founded

Resize Hard Disk Operation For This Format Is Not Implemented Yet” Error While Resizing VirtualBox D

RECOMMENDED: Click here to fix Windows errors and improve PC performance Long time VirtualBox users will know that VirtualBox doesn’t support re

Archive for required library: ‘WebContent/WEB-INF/lib/xxx.jar cannot be read or is not Zip file

         今天匯入一個專案到eclipse,出現感嘆號,而且報1. Archive for required library: ‘WebContent/WEB-INF/lib/xxxxx.jar cannot be read or is not a valid ZI

oj---九度oj---1043----day of week

sunday clu %d process put else ril nbsp pro #include<cstdio> #include<cstring> int isleap(int n){ if((n%100!=0&&

3% of users browse with IE9 and 14% of users have a disability. Why do we only cater for the former?

我的網站 作品 form 我不 post ability img gpo 想要 我想要用一個否定聲明來開始我的文章:對於怎樣創造一個易於用戶體驗的站點,我也不是了解非常多。 讓作為一個資深開發人員的我操心的是,我在並沒有獲得太多關於這個主題(指怎樣創造一個

[LeetCode] 34. Search for a Range 搜索一個範圍(Find First and Last Position of Element in Sorted Array)

begin tro value 復雜 targe || art length controls 原題目:Search for a Range, 現在題目改為: 34. Find First and Last Position of Element in Sorted Arr

《演算法筆記》3.4小節——入門模擬->日期處理 問題 B: Day of Week

把握今天,才能擁有明天! #include <cstdio> #include <cstring> char month[15][20] = { {}, {"January"}, {"February"}, {"March"}, {"April

DAY 30 Why half a degree of global warming is a big deal

今日導讀 聯合國政府間氣候變化專門委員會(IPCC)在近期發出一份關於全球變暖的報告,報告指出如果氣候變暖以目前的速度持續下去,預計全球氣溫可能在 2030 至 2052 年間氣候比工業時代前變暖 1.5 攝氏度,這引起了學術界的高度緊張。1.5 度聽上去是個

Microsoft announces Windows support for ROS robotics development Internet of Business

Microsoft is demonstrating greater commitment to robotics by announcing Windows support for the Robot Operating System (ROS) and joining an industrial cons

A JavaScript framework for functions of state and action

A JavaScript framework for functions of state and actionA function of state and action is a function that takes two arguments: state and action.Functions l

NASA's 'brilliant' plan for a cloud city of airships in the atmosphere of Venus

Popular science fiction of the early 20th century depicted Venus as some kind of wonderland of pleasantly warm temperatures, forests, swamps and even dinos

Resurrection of ancient Z80 Exidy Sorcerer computer and a call for help to HN

Folks of HN. I'm trying to bring my Exidy Sorcerer back to life... & a call for help from anyone who knows anything about (old) electronics.Years ago I

Resurrection of Z80 Exidy Sorcerer and a Call for Help from HN

Folks of HN. I'm trying to bring my Exidy Sorcerer back to life... & a call for help from anyone who knows anything about (old) electronics. Years ago

Evaluating PlaidML and GPU Support for Deep Learning on a Windows 10 Notebook

Evaluating PlaidML and GPU Support for Deep Learning on a Windows 10 NotebookFigure 1. PlaidML Logo.PlaidML is a deep learning software platform which enab

Could a 'demon' help create a quantum computer? Physicists implement a version of Maxwell's famous thought experiment for reduci

"Traditional computers use transistors to encode data as bits that can be in one of two states -- zero or one," said David Weiss, professor of physics at

Create, Monitor and Optimize Creation of a GSI For A DynamoDB Table

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

30. Creating a GoldenGate confguration to run a Shell script when an end-of-day processing record is

簡單說明: OGG提供了EVENTMARKER特性,可以用來建立事件並執行它,本篇博文主要測試該特性 依據《11. Setting up a simple GoldenGate replication confguration between two sin