i'm struggling with my first python script, please help me if you can.
it is an infinite loop, that runs a program. the program with the command - sudo ~/hdd -r(report function) /my/cloud/folder - creates a report file about the condition of the hdd. (I'm using an old hdd to backup my cloud so the report file will be automatically uploaded to the cloud, this way i can check is the hdd still reliable or not.) I would like to name the report txt file with the date, when it was written.
act = datetime.date.today()
while True:
os.system("sudo ~/hdd -r /my/cloud/folder/act.txt") #this is a command that runs the program which writes the file!
time.sleep(14400)