Re: time based classes

"'Vratislav Podzimek' via help-cfengine" <[email protected]> Tue, 09 Jul 2024 16:36:38 +0200
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
On Tue, 2024-07-09 at 07:21 -0700, Xander Cage wrote:
> Hi,
> 
> i read marks document about scheduling with time based classes...
> 
> http://markburgess.org/manuals_files/SpecialTopic_Schedule.pdf
> 
> i want to use a class expression like this "Hr03.Min00_59"" which translates to "run at hour 3 between minute 0 and 59, correct?
There's no such class as `Min00_59`. It would be always defined, what would be
its purpose? As you can see, there are classes like `Min19` and `Min15_20` plus
the `_Q2` classes. These should be enough for putting together a proper
expression for a given window of time.

--
Vratislav


> 
> as this expression is not fireing i consulted cf-promises to list the avaiable time_based classes and the mentioned items are not there.
> 
> root@aixtest01: /root/cfe_testbed # /var/cfengine/bin/cf-promises --show-classes | grep time_based
> Afternoon                                                    time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Day9                                                         time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Afternoon                                                time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Day9                                                     time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Hr14                                                     time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Hr14_Q2                                                  time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_July                                                     time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Lcycle_2                                                 time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Min15_20                                                 time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Min19                                                    time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Q2                                                       time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Tuesday                                                  time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> GMT_Yr2024                                                   time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Hr16                                                         time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Hr16_Q2                                                      time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> July                                                         time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Lcycle_2                                                     time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Min15_20                                                     time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Min19                                                        time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Q2                                                           time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Tuesday                                                      time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> Yr2024                                                       time_based,cfengine_internal_time_based_autoremove,source=agent,hardclass
> 
> what am i missing here (again)?
> 
> wbr
> 
> chris
> -- 
> You received this message because you are subscribed to the Google Groups "help-cfengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/3742b85d-156f-4a79-8ba1-5d5d00ac00efn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/48f2cfa8aeccd5cd79cb4934a6060ff2dfe009ea.camel%40northern.tech.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEENAH7ns+FyuCe6j1XmyV2peQQR/QFAmaNSvYACgkQmyV2peQQ
R/Rp4A//eotlpVspAffYEV0F8G8iW3nT347vPfFBjqvur7i7tGX4xbo/VvOC03ZQ
3wA0jaSpJel+VhU6gvQ2WdmbxQ9ueudS8cm/IjqYgOhNkfJDvCaFNKT/18A98Jqn
fDAP6593/YLaN2RurdWwUx/Ns6iPQKnTH1cncRL3jau05D9bW/QC9sJ8cmOKnJoI
8UBUhzJGEhsbhL2jKg8dYnWS7wmCRaTMFUrAyFgU6oVx82o7/eVdXFkmTDeTx4WF
Z1aQPnLtPw/gBaU6b6jkuBx+eWTuD4vey/FSuvegCoH0anvYryr1Jy4erVKPuZgS
aDCwL6JK/jyNfWm9LYmZEIDYUzavRAx62frcAPI1RTITvAGU3+HtBLGiFA+wr9H/
B4PClnLlaAG637b1r7SBmHOmbjDPom8Ocj/PquefJZ8xSgKd6hMH6E1oxcRsRwgh
P+A3+JhB/JABa6MKG+TZ6ENWqsx1R1ACvviDZN9fmiV5NnWz9qZNVZnGFZ/YNwH/
hhbz5ngWow9h2pggNUWyZYuU4tQkEP3yNkNYJkYGeO/VbdMFsVFWVW5HPFUUpmUf
NF9P/P7ibXOHBlJeTRAS2oDQlogNHBxVCpXMz70dnO9NQCiAuVIxpaAjJN93IW1B
QQlVbHHVq3deFEsX/OSYSpdPMGZKw6ynFRhRPqelzwU7+zR99F8=
=2RHi
-----END PGP SIGNATURE-----