Skip to content

Instantly share code, notes, and snippets.

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/1c62e09cc6806632ab74b8cc47fc6dd0 to your computer and use it in GitHub Desktop.
Save tasdemirbahadir/1c62e09cc6806632ab74b8cc47fc6dd0 to your computer and use it in GitHub Desktop.
scheduler_service_define_future_task.sql
INSERT INTO future_jobs (ID,task_id,hash_key,start_time,expire_time,name,future_job_status,application,path,method,payload,created_date,last_modified_date,url)
VALUES (nextval('seq_future_jobs'),'sample-future-job','sample-future-job-hash-key',NOW() + INTERVAL '5 minutes',NOW() + INTERVAL '10 minutes','Sample Future Job','WAITING','test-application','/future-job/invoke','GET','',now(),now(),'http://localhost:6060');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment