Hi all, new-ish to Mystic and even newer to Python.I run my timed events from the "Event" menu. Enter a new event, select it as hourly. The command I use is "python mysticbackup.py" Mine is set for 6 hours. Let me know if you need more details.
I have a Python script that I'm running as an hourly event to update
board and MRC stats for a web page. I'm using the shell syntax:
mystic -u[user] -p[pass] -ywebstats.py *
And it's working fine. But it seems like it's logging me in each time in order to execute the script, so I'm just wondering if that's the "right" way to call a script in an event, or if there's a better way to do what I'm trying to do.
(* yes, it's a Python 2 script, but I'm trying to work towards a Python
3 only environment, but that's a topic for another day :P)
<codeŸenix>
I run my timed events from the "Event" menu. Enter a new event, select it as hourly. The command I use is "python mysticbackup.py" Mine is set for 6 hours. Let me know if you need more details.
Sysop: | Sarah |
---|---|
Location: | Portland, Oregon |
Users: | 19 |
Nodes: | 16 (0 / 16) |
Uptime: | 53:58:07 |
Calls: | 126 |
Calls today: | 126 |
Files: | 84,009 |
U/L today: |
5 files (318K bytes) |
D/L today: |
33 files (8,385K bytes) |
Messages: | 38,259 |
Posted today: | 25 |