-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to setup scheduled task with manual cron input #1522
Comments
We left out week option for some reason, it will be added in a later version. |
For manual input, do we leave the "?" as is? Meaning only specify the first 5 values for cron timing. |
No, the "?" is also part of the cron expression. |
Yes, what should we replace the "?" with? If we use the normal day, month, year options, there is no need to enter this value. |
It seems that there are several different implementations of cron expressions. Datart uses quartz type. |
Thank you, it looks like we can leave the "?" as is. This issue is tagged for volunteer, do you mean to add the week option? |
Yes. |
I would try |
Somehow the existing scheduled task stopped working. My smtp is tested working. Datart scheduled task was working before and I have not changed it. What could be the reason? Even the demo site scheduled task feature is not working. I like to make sure it is working before I make any change for testing. |
Yes, has been using Google app password. Is not mailbox password. |
Anything details in log file? |
2022-06-13 13:54:43.251 [https-jsse-nio-0.0.0.0-9293-exec-8] INFO datart.server.service.impl.ScheduleServiceImpl : schedule started. |
|
You have sharp eyes! Let me get the email sending working. |
I realized my scheduler does not work, is there any other configuration required? I see the below mentioned NOT STARTED in my log. I run via "Execute Now" and email works. 2022-06-30 22:23:01.973 [main] INFO org.quartz.core.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2022-06-30 22:23:01.981 [main] INFO org.quartz.impl.StdSchedulerFactory : Quartz scheduler 'DatartScheduleCluster' initialized from an externally provided properties instance. |
I see that there is a start button for each scheduled task. Now the scheduled task get triggered automatically as expected. However, there is a SQL error on column 'type'. Not sure if this is existing issue. I tried doing a fresh installation of datart database and the view table does not have type column. Full log: Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column 'type' in 'field list' ### The error may exist in datart/core/mappers/ext/ViewMapperExt.java (best guess) ### The error may involve datart.core.mappers.ext.ViewMapperExt.selectByPrimaryKey-Inline ### The error occurred while setting parameters ### SQL: select id,
|
ok, I would ignore this column change. Thank you! |
Quick question: Code is merged, would you prefer I always close the issues here on to leave them open? Not sure if you are tracking anything outside and then closing on your end. |
Never mind, you can always close issue after code is merged, other topics can be discussed in the new issue. |
ok thank you! |
Hello, I tried to setup a weekly schedule but realized only possible with manual input. I like to ask what value should the question mark take when using manual setup? As per cron syntax, that value should be the path to the script we want to trigger.
This is not specified in the user guide document.
The text was updated successfully, but these errors were encountered: