diff --git a/Tombolo/client-reactjs/src/components/application/jobMonitoring/SchedulePicker.jsx b/Tombolo/client-reactjs/src/components/application/jobMonitoring/SchedulePicker.jsx index 01eaaca3..34b5eda4 100644 --- a/Tombolo/client-reactjs/src/components/application/jobMonitoring/SchedulePicker.jsx +++ b/Tombolo/client-reactjs/src/components/application/jobMonitoring/SchedulePicker.jsx @@ -51,8 +51,8 @@ function SchedulePicker({ completeSchedule, setCompleteSchedule, cron, - setCron, - cronMessage, + // setCron, + // cronMessage, setCronMessage, }) { const [yearlyRadio, setYearlyRadio] = useState(null); @@ -385,35 +385,35 @@ function SchedulePicker({ ); // handle corn input change - const handleCronInputChange = (e) => { - const v = e.target.value; - setCron(v); - setIntermittentScheduling((prev) => ({ frequency: prev.frequency, cron: v })); - }; + // const handleCronInputChange = (e) => { + // const v = e.target.value; + // setCron(v); + // setIntermittentScheduling((prev) => ({ frequency: prev.frequency, cron: v })); + // }; //Cron Input and validation - const cronInputAndValidation = ( - <> - handleCronInputChange(e)} allowClear value={cron} /> - {cronMessage == null ? ( -
- Click{' '} - - Here - {' '} - to create cron expression -
- ) : null} - {cronMessage && cronMessage?.valid ? ( -
Runs {cronMessage.message.toLowerCase()}
- ) : null} - {cronMessage && !cronMessage?.valid ?
{cronMessage.message}
: null} - - ); + // const cronInputAndValidation = ( + // <> + // handleCronInputChange(e)} allowClear value={cron} /> + // {cronMessage == null ? ( + //
+ // Click{' '} + // + // Here + // {' '} + // to create cron expression + //
+ // ) : null} + // {cronMessage && cronMessage?.valid ? ( + //
Runs {cronMessage.message.toLowerCase()}
+ // ) : null} + // {cronMessage && !cronMessage?.valid ?
{cronMessage.message}
: null} + // + // ); //Schedule options const schedulingOptions = [ @@ -421,7 +421,7 @@ function SchedulePicker({ { label: 'Weekly', value: 'weekly', component: weeklyBreakDown }, { label: 'Monthly', value: 'monthly', component: monthlyBreakDown }, { label: 'Yearly', value: 'yearly', component: yearlyBreakDown }, - { label: 'Cron', value: 'cron', component: cronInputAndValidation }, + // { label: 'Cron', value: 'cron', component: cronInputAndValidation }, ]; const selectedComponent = schedulingOptions.find(