Author Topic: NuPoint Call Directory Call Flow Reports - Automated  (Read 2445 times)

Offline lundah

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1161
  • Country: us
  • Karma: +62/-0
  • Senior Chief Grunt
    • View Profile
Re: NuPoint Call Directory Call Flow Reports - Automated
« Reply #15 on: January 16, 2024, 12:07:06 PM »
Note sure what happened to the rest of it. You need to put your shell commands in the


Offline lundah

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1161
  • Country: us
  • Karma: +62/-0
  • Senior Chief Grunt
    • View Profile
Re: NuPoint Call Directory Call Flow Reports - Automated
« Reply #16 on: January 16, 2024, 12:10:37 PM »
Note sure what happened to the rest of it. You need to put your shell commands in the

Odd that something keeps eating my comment text. I

Offline lundah

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1161
  • Country: us
  • Karma: +62/-0
  • Senior Chief Grunt
    • View Profile
Re: NuPoint Call Directory Call Flow Reports - Automated
« Reply #17 on: January 18, 2024, 09:13:25 AM »
Ok, back from a few days off and on my regular machine. No idea why my comments were getting eaten when posting from my iPad, I tried different browsers, did a Preview before posting, no luck.

Based on the info in several KMS articles, it looks like everything in /etc/cron.daily is run during the NP nightly maintenance, I'm not sure on exactly how, but the /etc/crontab file specifically warns not to edit as it will get overwritten, so Mitel is doing something weird under the hood. To make things simple, just add your commands to the /etc/cron.daily/89NPMdaily file. Grab a copy of the original file first, of course. Open it up in vi or nano (ssh in, go to the /etc/cron.daily and "nano 89NPMdaily" or "vi 89NPMdaily"), add a comment line and then your shell commands, then save the file. Save a copy as well, as I would imagine this will get overwritten on an upgrade.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5741
  • Country: us
  • Karma: +468/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: NuPoint Call Directory Call Flow Reports - Automated
« Reply #18 on: January 18, 2024, 09:37:11 AM »
So /etc/cron.daily is a directory, not a file.  It contains several scripts.
So my guess would be that anything in the directory will get executed daily.
I'll test that by putting in my script.

Ralph

Offline johnp

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2183
  • Country: us
  • Karma: +66/-0
    • View Profile
Re: NuPoint Call Directory Call Flow Reports - Automated
« Reply #19 on: January 19, 2024, 05:29:23 PM »
Check this out https://wiki.koozali.org/Cron_entry This tells how to make changes survive upgrades. This is based on Mitel Linux i.e e-smith


 

Sitemap 1 2 3 4 5 6 7 8 9 10