Can someone please explain why:
/usr/local/nagiosxi/cron/link_python
is running in /etc/cron.d/nagiosxi as:
0 * * * * root /usr/local/nagiosxi/cron/link_python
I see it makes a symbolic link. But in a cron that runs once an hour?
Please. Explain.
Sorry, but I need to know...
Thanks
Steve B
New Install - cron entry
Re: New Install - cron entry
Hi Steve,
I believe this script was created to always ensure the symbolic link /usr/bin/python exists so that python scripts that use this path can continue to work correctly.
Apparently there is a history of the symlnk vanishing for various reasons, such as having multiple versions of python installed and one of them updates/upgrades and removes the symlink.
I believe this script was created to always ensure the symbolic link /usr/bin/python exists so that python scripts that use this path can continue to work correctly.
Apparently there is a history of the symlnk vanishing for various reasons, such as having multiple versions of python installed and one of them updates/upgrades and removes the symlink.
Cheers,
- Cole
- Cole
-
StevenBeauchemin
- Posts: 15
- Joined: Fri Jun 30, 2023 12:39 pm
Re: New Install - cron entry
Okay, I understand.
Thanks!
Steve B
Thanks!
Steve B
Re: New Install - cron entry
Nice!StevenBeauchemin wrote: ↑Wed Sep 03, 2025 2:36 pm Can someone please explain why:
/usr/local/nagiosxi/cron/link_python
is running in /etc/cron.d/nagiosxi as:
0 * * * * root /usr/local/nagiosxi/cron/link_python
I see it makes a symbolic link. But in a cron that runs once an hour?
Please. Explain.
Sorry, but I need to know...
Thanks
Steve B