Add seconds granularity in cron-trigger execute

Registered by Limor Stotland

Problem description
===================
Allow seconds interval for cron-trigger

Proposed change
===============
1) Replace croniter with apscheduler (Advanced Python Scheduler).
2) The new Scheduler will be BackgroundScheduler (A scheduler that runs in the background using a separate thread)
3) A new method will be added to triggers.py class, convert_pattern_to_numbers(patterns). This method will convert from the crontab pattern to sec/min/hour/day of month/month/day of the week in numbers

User Experience shouldn't change 5 fields cron expression will still be supported in addition to the new 6 fields format (sec/min/hour/day of month/month/day of the week)

Alternatives
------------
this is the only python library I found the support seconds in scheduled job

Use-cases
===============
monitoring an application (for example stack-check every 30 sec)

Blueprint information

Status:
Complete
Approver:
Renat Akhmerov
Priority:
Medium
Drafter:
Limor Stotland
Direction:
Approved
Assignee:
Limor Stotland
Definition:
Obsolete
Series goal:
Accepted for liberty
Implementation:
Implemented
Milestone target:
milestone icon 1.0.0
Started by
Renat Akhmerov
Completed by
Renat Akhmerov

Related branches

Sprints

Whiteboard

Example
========
mistral cron-trigger-create -f value --pattern "* * * * * */30" my_trigger my_workflow input.json

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.