Skip to content
Snippets Groups Projects
Commit 43a9a201 authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Fixed invalid path to Python executable in cron scripts.

(Redmine issue: #3387)
parent e3f839e3
No related branches found
No related tags found
No related merge requests found
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run every day at 5am. # Run every day at 5am.
0 5 * * * root /usr/bin/python3 /usr/local/bin/mentat-backup.py --regular 0 5 * * * root /var/mentat/venv/bin/python3 /usr/local/bin/mentat-backup.py --regular
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run once in every 6 hours. # Run once in every 6 hours.
5 */6 * * * root /usr/bin/python3 /usr/local/bin/mentat-cleanup.py --regular 5 */6 * * * root /var/mentat/venv/bin/python3 /usr/local/bin/mentat-cleanup.py --regular
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Provide periodical informational report emails about overall performance of Mentat system. # Provide periodical informational report emails about overall performance of Mentat system.
0 7 * * * mentat /usr/bin/python3 /usr/local/bin/mentat-informant.py --regular 0 7 * * * mentat /var/mentat/venv/bin/python3 /usr/local/bin/mentat-informant.py --regular
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run every day at 6am. # Run every day at 6am.
0 6 * * * mentat /usr/bin/python3 /usr/local/bin/mentat-netmngr.py --regular --command update --whois-file /var/mentat/whois-negistry.json 0 6 * * * mentat /var/mentat/venv/bin/python3 /usr/local/bin/mentat-netmngr.py --regular --command update --whois-file /var/mentat/whois-negistry.json
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run once in every 10 minutes. # Run once in every 10 minutes.
*/10 * * * * mentat /usr/bin/python3 /usr/local/bin/mentat-precache.py --regular */10 * * * * mentat /var/mentat/venv/bin/python3 /usr/local/bin/mentat-precache.py --regular
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run once in every 10 minutes. # Run once in every 10 minutes.
*/10 * * * * mentat /usr/bin/python3 /usr/local/bin/mentat-reporter.py --regular */10 * * * * mentat /var/mentat/venv/bin/python3 /usr/local/bin/mentat-reporter.py --regular
...@@ -11,4 +11,5 @@ ...@@ -11,4 +11,5 @@
# #
# Run once in every 5 minutes. # Run once in every 5 minutes.
*/5 * * * * mentat /usr/bin/python3 /usr/local/bin/mentat-statistician.py --regular */5 * * * * mentat /var/mentat/venv/bin/python3
/usr/local/bin/mentat-statistician.py --regular
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run every 15 minutes. # Run every 15 minutes.
*/15 * * * * root /usr/bin/python3 /usr/local/bin/mentat-dbmngr.py --command=watchdog-events --regular */15 * * * * root /var/mentat/venv/bin/python3 /usr/local/bin/mentat-dbmngr.py --command=watchdog-events --regular
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
# #
# Run once in every 2 minutes. # Run once in every 2 minutes.
*/2 * * * * mentat /usr/bin/python3 /usr/local/bin/mentat-ideagen.py --random-count 20 */2 * * * * mentat /var/mentat/venv/bin/python3 /usr/local/bin/mentat-ideagen.py --random-count 20
...@@ -20,4 +20,4 @@ open-source project. ...@@ -20,4 +20,4 @@ open-source project.
__author__ = "Jan Mach <jan.mach@cesnet.cz>" __author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>" __credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
__version__ = "2.3.12" __version__ = "2.3.13"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment