Skip to content

LTE-2878 : Selfheal functions are not running in XLE#262

Open
aj970-crypto wants to merge 1 commit intodevelopfrom
feature/LTE-2878
Open

LTE-2878 : Selfheal functions are not running in XLE#262
aj970-crypto wants to merge 1 commit intodevelopfrom
feature/LTE-2878

Conversation

@aj970-crypto
Copy link
Contributor

LTE-2878 : Selfheal functions are not running in XLE

Reason for change: Selfheal aggressive is not running in XLE and Sky devices, so removed the cron entry of it in those devices
Test Procedure: Check whether selfheal aggressive selfheal entry is removed from crontab in XLE and Sky devices.
Risks: Low
Priority: P0

Signed-off-by: aj970 <akshaya_j@comcast.com>
@aj970-crypto aj970-crypto requested review from a team as code owners March 13, 2026 15:44
Copilot AI review requested due to automatic review settings March 13, 2026 15:44
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates cron initialization to stop scheduling the SelfHeal “aggressive” job on specific device types where it is not expected to run (per LTE-2878), while keeping other SelfHeal cron jobs intact.

Changes:

  • Gate creation of the selfheal_aggressive.sh crontab entry based on BOX_TYPE (skip on WNXL11BWL, HUB4, SR213).
  • Preserve existing SelfHeal cron scheduling for resource monitor and connectivity test jobs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +174 to +176
if [ "$BOX_TYPE" != "WNXL11BWL" ] && [ "$BOX_TYPE" != "HUB4" ] && [ "$BOX_TYPE" != "SR213" ]; then
# Monitor selfheal_aggressive.sh based on syscfg value
AGGRESSIVE_INTERVAL=$(syscfg get AggressiveInterval)
Comment on lines +174 to +178
if [ "$BOX_TYPE" != "WNXL11BWL" ] && [ "$BOX_TYPE" != "HUB4" ] && [ "$BOX_TYPE" != "SR213" ]; then
# Monitor selfheal_aggressive.sh based on syscfg value
AGGRESSIVE_INTERVAL=$(syscfg get AggressiveInterval)
if [ -z "$AGGRESSIVE_INTERVAL" ]; then
AGGRESSIVE_INTERVAL=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants