Bug #21858
closed
Command seq not found in crontab on AIX
Added by Elaad FURREEDAN about 2 years ago.
Updated almost 2 years ago.
Category:
Server components
UX impact:
I dislike using that feature
User visibility:
Infrequent - complex configurations | third party integrations
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
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 ""}'
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
- 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
- Target version changed from 1002 to 7.1.7
- Target version changed from 7.1.7 to 7.1.8
- Target version changed from 7.1.8 to 7.1.9
- Status changed from Pending technical review to Pending release
- 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.
Also available in: Atom
PDF