Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2225447

Summary: Add single or inverted quotes in Long running tasks $cron command
Product: Red Hat Satellite Reporter: Avnish Kumar <avnkumar>
Component: Tasks PluginAssignee: Adam Lazik <alazik>
Status: CLOSED CURRENTRELEASE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.14.0CC: ahumbe, alazik, aruzicka
Target Milestone: 6.14.0Keywords: Documentation, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-05 10:36:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avnish Kumar 2023-07-25 10:23:40 UTC
Document URL: Red Hat Satellite 6.14 release notes

Section Number and Name: Chapter 2. New features

Describe the issue: Without single or inverted quotes in Long running tasks $cron command fails with the error "ArgumentError: invalid cron string"

~~~~
You can reschedule the task by running foreman-rake foreman_tasks:reschedule_long_running_tasks_checker FOREMAN_TASKS_CHECK_LONG_RUNNING_TASKS_CRONLINE=$cron. 

Replace $cron with a cronline describing the new schedule.
~~~

Suggestions for improvement: Add single or inverted quotes in Long running tasks $cron command

~~~~
You can reschedule the task by running foreman-rake foreman_tasks:reschedule_long_running_tasks_checker FOREMAN_TASKS_CHECK_LONG_RUNNING_TASKS_CRONLINE='$cron'. 

Replace $cron with a cronline describing the new schedule.
~~~

OR

~~~~
You can reschedule the task by running foreman-rake foreman_tasks:reschedule_long_running_tasks_checker FOREMAN_TASKS_CHECK_LONG_RUNNING_TASKS_CRONLINE="$cron". 

Replace $cron with a cronline describing the new schedule.
~~~

Additional information: Also we can simply add an example.

Comment 2 Marie Hornickova 2023-07-31 17:51:49 UTC
Hello,
Many thanks for this suggestion for improvement of RH Satellite 6.14 Release Notes. 
The documentation team will inform in this ticket once it is implemented.
Thank you!

Comment 3 Adam Lazik 2023-08-01 10:24:30 UTC
Hi!
Quotes fixed in the original ticket: https://issues.redhat.com/browse/SAT-17519
Currently waiting for changes to propagate into Pantheon to link preview.