Hello Ulrich,

On 11/11/2016 09:52 AM, Ulrich Leodolter wrote:
> Hi all,
>
> it seems that enable client or job does not trigger an update and requeue for 
> the scheduler.
The scheduler queue is refreshed approximately once an hour, so if you 
activate a schedule, it will probably not be noticed until the next refresh.
>
> we use a cron job which dynamically enables/disables workstation jobs 10 
> minutes before they are scheduled in the evening.  if somewone powers of his 
> workstation on weekend then backup job will be disabled and we get no failed 
> jobs.  on monday evening the job will be enabled if the workstation is alive. 
>  but we noticed that the jobs does not run if it is sheduled 10 minutes later.
>
> it seems there must be some action on the scheduler between the enable job 
> and the scheduled time or the time between enable and scheduled time must be 
> greater than 1 hour.  at least we observed this behaviour.
>
> but i would expect that enable job or client triggers also a requeue for the 
> scheduler if there are any assoicated scheduldes.
That code does not currently exist.

> is there any command which triggers a rescan for the scheduler?

If you run your cron job at least one hour before the job should be 
scheduled, I think it will work.  If you try that please let me know if 
it works or not.

Best regards,
Kern

>
> Best regards
> Ulrich
>
> p.s. running bacula 7.4.4 community version
>
> Ulrich Leodolter <ulrich.leodol...@obvsg.at>
> Oesterreichische Bibliothekenverbund und Service GmbH
> Raimundgasse 1/3, A-1020 Wien
> Fax +43 1 4035158-30
> Tel +43 1 4035158-21
> Web http://www.obvsg.at
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to