Project

General

Profile

Actions

Bug #21858

closed

Command seq not found in crontab on AIX

Added by Elaad FURREEDAN about 2 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
UX impact:
I dislike using that feature
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Yes

Description

When we run this command: crontab -l | grep -i rudder
We have an error like :

sh: seq:  not found * * * * /opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1 # RUDDER CRON

We use seq to define que frequency of the run, but it doesn't exists on AIX OS

It is introduce by: https://issues.rudder.io/issues/16859

Actions #2

Updated by Nicolas CHARLES about 2 years ago

seq command can be replaced by

echo '0 59' | awk '{ for (i=$1;i<=$2;i=i+5) { printf "%s%s", sep, i; sep=","}} END{print ""}'

Actions #3

Updated by Nicolas CHARLES about 2 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES about 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1792
Actions #5

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 1002 to 7.1.7
Actions #6

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.1.7 to 7.1.8
Actions #7

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.8 to 7.1.9
Actions #8

Updated by Nicolas CHARLES almost 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #9

Updated by Alexis Mousset almost 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.1.9 and 7.2.3 which were released today.

Actions

Also available in: Atom PDF