opened
yrudman
username_0
**ISSUE**:  there is no good way to disable not needed schedule.
**FIX**: accept nil or empty string as first argument to ```MiqScheduleWorker::Scheduler#schedule_every``` which will trigger skipping scheduling

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1736749

@miq-bot add-label enhancement, core, changelog/yes, hammer/yes, ivanchuk/yes

\cc @gtanzillo
Allow MiqSchedule to accept nil and skip scheduling
issue
created
simaishi
username_1
Ivanchuk backport details:

```
$ git log -1
commit f33669afc6af838427272bed1bdf94fd889ce33e
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Tue Aug 6 15:13:55 2019 -0400

    Merge pull request #19105 from username_0/pass-nil-to-miq_scheduler-to-ignore-schedule
    
    Allow MiqSchedule to accept nil and skip scheduling
    
    (cherry picked from commit 52f78217f0993eca88301e7a55475cb16b99c156)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1736749
```
comment
created
simaishi
username_1
Hammer backport details:

```
$ git log -1
commit 0224c074171e566fd705db39808aace390ca1e94
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Tue Aug 6 15:13:55 2019 -0400

    Merge pull request #19105 from username_0/pass-nil-to-miq_scheduler-to-ignore-schedule
    
    Allow MiqSchedule to accept nil and skip scheduling
    
    (cherry picked from commit 52f78217f0993eca88301e7a55475cb16b99c156)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1763862
```
comment