Automating python execution (without Task Scheduler if possible)

Python and python framework

Moderator: leecollings

Post Reply
RamsonGomes
Posts: 1
Joined: Monday 28 October 2019 14:05
Target OS: Windows
Domoticz version:
Contact:

Automating python execution (without Task Scheduler if possible)

Post by RamsonGomes »

I'm trying to automate the execution of a script, but all I've found are descriptions on how to do it with Windows Task Scheduler. Is there a way to do it without the Task Scheduler? Or is there maybe a way to make a python script that will make a task in Task Scheduler?

The reason for that is that I want to make custom executions depending on specific dates and I don't want to create multiple Task Schedulers.
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Automating python execution (without Task Scheduler if possible)

Post by pipiche »

You might create a Python Plugin. You have an heartbeat, which call the onHearbeat methods every 10s
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest