-
-
Notifications
You must be signed in to change notification settings - Fork 6
Scheduled Run
-
If the configuraiton file has not been created; go to Linux First Run and follow the steps.
-
Open a terminal window using the following keyboard shortcut:
ctrl+alt+t
-
In the terminal window type the following command:
crontab -e
-
In the crontab file, type one of the following commands:
To run
/opt/MUMC/mumc.py
everyday at 03:21hrs (aka 3:21am)21 3 * * * python3 /opt/MUMC/mumc.py
To run
/opt/MUMC/mumc.py
every Monday at 01:23hrs (aka 1:23am) and save the output to log file/var/log/mumc.log
23 1 * * 1 python3 /opt/mumc/mumc.py > /var/log/mumc.log 2>&1
The following links are a good starting point to learn the crontab syntax:
- If the configuraiton file has not been created; go to Windows First Run and follow the steps.
- There are many pages online, like this one, showing how to use the Windows Task Scheduler to run a Python script.
- TBD
- TBD
-
If the configuraiton file has not been created; go to Docker First Run and follow the steps.
-
Open a terminal window on the host machine using the following keyboard shortcut:
ctrl+alt+t
-
In the terminal window type the following commands:
crontab -e
-
In the crontab file, copy/paste one of the examples; or make your own custom command:
To run the mumc container everyday at 03:21hrs (aka 3:21am)
21 3 * * * docker run --rm --name mumc ghcr.io/terrelsa13/mumc:latest python /usr/src/app/mumc.py
To run
/opt/MUMC/mumc.py
every Monday at 01:23hrs (aka 1:23am) and save the output to log file/var/log/mumc.log
23 1 * * 1 docker run --rm --name mumc ghcr.io/terrelsa13/mumc:latest python /usr/src/app/mumc.py > /usr/src/app/config/mumc_CRON_OUTPUT.log 2>&1
- MUMC wiki
- Install
- Files & Directories
- First Run
- Scheduled Run
- Terminology
- Configuration File Examples
- Configuration Tree
-
Additional Information
- OS Permissions
- User And Library Builder
- Played And Created Filter Statement Breakdown
- Played And Created Filter Tag Breakdown
- Dangerous Filter Statements
- Behavioral Statement Breakdown
- Behavioral Tag Breakdown
- Blacklisting vs Whitelisting
- Blacktagging vs Whitetagging
- Library Matching byId vs byPath vs byNetworkPath
- Minimum Episodes vs Minium Played Episodes
- Conditional Behavior Priorities
- Command-Line Options
- Make MUMC Run FASTERRRRRR!!!
- Known Limitations