I've a python executable file that I've written. I would like to distribute it to other people. The exe will be on the fileserver and this exe file should work on 14:00 for all the users.
Firstly, I tried to put it into a batch file with the cmd code to create a scheduled task and -schtask command-. The code is getting the directory into a variable and adding /program.exe and sending it to schtask command.
Problem is I can not set the option for working on battery mode in task scheduler with cmd.
Is there an alternative to CMD? As I understand, I can use powershell, but not sure how?
Thanks in advance.