Hello.
How to create a schedule with a manual option using Java SDK rather than cron? Could you please share sample code/Documentation around this?
Thank you.
Cody
Best answer by Boris
View originalHello.
How to create a schedule with a manual option using Java SDK rather than cron? Could you please share sample code/Documentation around this?
Thank you.
Cody
Best answer by Boris
View originalHello Cody,
You can create a schedule that will be triggered manually by using the function createSchedule, but using null instead of the CRON expression.
processService.createSchedule(project, new Schedule(process, "myGraph.grf", ""));
You can also trigger the execution via API, without creating the schedule at all, by simply calling ProcessExectuion function
ProcessExecution exec = new ProcessExecution(process, "myGraph.grf");
you can find more examples here.
Sign in with your community account. This is different than your login to your GoodData account. Don't have a community login? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.