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

Fix: Removed explicit path to Python executable from cron scripts.

I have removed explicit path to Python executable to prevent from any errors when moving Python venv for Mentat around the system.
parent 43a9a201
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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-backup.py --regular 0 5 * * * root /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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-cleanup.py --regular 5 */6 * * * root /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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-informant.py --regular 0 7 * * * mentat /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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-netmngr.py --regular --command update --whois-file /var/mentat/whois-negistry.json 0 6 * * * mentat /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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-precache.py --regular */10 * * * * mentat /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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-reporter.py --regular */10 * * * * mentat /usr/local/bin/mentat-reporter.py --regular
...@@ -11,5 +11,4 @@ ...@@ -11,5 +11,4 @@
# #
# Run once in every 5 minutes. # Run once in every 5 minutes.
*/5 * * * * mentat /var/mentat/venv/bin/python3 */5 * * * * mentat /usr/local/bin/mentat-statistician.py --regular
/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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-dbmngr.py --command=watchdog-events --regular */15 * * * * root /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 /var/mentat/venv/bin/python3 /usr/local/bin/mentat-ideagen.py --random-count 20 */2 * * * * mentat /usr/local/bin/mentat-ideagen.py --random-count 20
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