I am trying to schedule a python script to run daily. i have imported below modules.
import os
import os.path
from pathlib import Path
from crontab import CronTab
Then when i try to run this command
my_cron = CronTab(user='username')
I get the error.
OSError: [WinError 193] %1 is not a valid Win32 application
Please let me know how i can resolve this