[
https://issues.apache.org/jira/browse/AURORA-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186833#comment-16186833
]
Bill Farner commented on AURORA-957:
------------------------------------
[~jingc] that's how i would approach (y)
Feel free to reach out if you have more questions!
> JobConfiguration should not contain a cron schedule
> ---------------------------------------------------
>
> Key: AURORA-957
> URL: https://issues.apache.org/jira/browse/AURORA-957
> Project: Aurora
> Issue Type: Story
> Components: Scheduler, Usability
> Reporter: Bill Farner
> Assignee: Jing Chen
>
> Cron behavior is treated as a composed characteristic of a job, so therefore
> it should not be a trait of jobs that are not cron. Create a new struct for
> cron jobs:
> {noformat}
> struct CronJobConfiguration {
> 1: string schedule
> 2: JobConfiguration job
> }
> {noformat}
> Change cron-related RPCs to accept this type instead of JobConfiguration
> (with a deprecation cycle), and remove cronSchedule from JobConfiguration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)