Skip to content

Instantly share code, notes, and snippets.

@tasdemirbahadir
Created December 2, 2019 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tasdemirbahadir/2ae10c0d40941751ea1ad2a3ced21cef to your computer and use it in GitHub Desktop.
Save tasdemirbahadir/2ae10c0d40941751ea1ad2a3ced21cef to your computer and use it in GitHub Desktop.
scheduler_service_define_job.sql
INSERT INTO scheduled_jobs (ID,NAME,application,job_type,cron_expression,created_date,last_modified_date,active,url)
VALUES (nextval('seq_scheduled_jobs'),'Sample bean scheduled job','test-application','bean_scheduled_job','0 0/5 * * * ?',now(),now(),TRUE,'http://localhost:6060');
INSERT INTO bean_scheduled_jobs VALUES (currval('seq_scheduled_jobs'),'sampleJobService','invoke');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment