Bug 1967030 - [RFE] Setting up Custom Crons which implies the ability to determine a cadence for specific day of week/month.
Summary: [RFE] Setting up Custom Crons which implies the ability to determine a cadenc...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.14.0
Assignee: Adam Ruzicka
QA Contact: Peter Ondrejka
URL:
Whiteboard:
: 2221565 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-02 11:05 UTC by Jaskaran Singh Narula
Modified: 2023-07-20 10:11 UTC (History)
9 users (show)

Fixed In Version: rubygem-foreman-tasks-8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36154 0 Normal Ready For Testing Replace parse-cron with something else 2023-03-02 14:04:12 UTC

Description Jaskaran Singh Narula 2021-06-02 11:05:07 UTC
1. Proposed title of this feature request

>> [RFE] Setting up Custom Crons which implies the ability to determine a cadence for specific day(s) of week/month. 

2. What is the nature and description of the request?

>> In this RFE is designed to honor a very specific day in a week or in a month. 

>> To get better details, can refer the this comment -->> https://bugzilla.redhat.com/show_bug.cgi?id=1950825#c2

3. Why does the customer need this? (List the business requirements here)

>> Customer was a corn feature from the satellite where the satellite is intelligent enough to run a specific task for a particular day. That can be possible where that day comes once in a week or maybe once in a month based on the requirement. 


4. How would the customer like to achieve this? (List the functional requirements here)

>> Using Remote execution.

>> Customer wants to setup conditional crons(complex) Similar like mentioned below:
------
[1] * * * * 7 [ $(date +\%d) -le 07 ] && /run/your/script
or 
[2] * * * * 7 [ $(date +\%d) -le 07 ] 
------


5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

NA

6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
NA

7. Does the customer have any specific timeline dependencies and which release would  they  like  to  target  (i.e.  RHEL5,RHEL6)?

NA

Comment 1 Adam Ruzicka 2023-03-02 14:04:13 UTC
If we move to fugit, this should be doable using custom syntax[1]. 

[1] - https://github.com/floraison/fugit#the-first-monday-of-the-month

Comment 4 Bryan Kearney 2023-05-10 12:01:52 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36154 has been resolved.

Comment 5 Peter Ondrejka 2023-06-13 12:26:24 UTC
Verified on 6.14 as part of SAT-17647 effort

Comment 6 Ron Lavi 2023-07-10 12:49:37 UTC
*** Bug 2221565 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.