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: RELEASE_PENDING --- 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: 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.