effectimminent
effectimminent

Reputation: 9

at command won't run python scripts

I have a Python script I would like to run at a specified time however when using the at command the script refuses to execute I have tried using a shell script(an.sh) to call the Python script but it still doesn't work it seemingly runs the job without executing the script

an.sh

python3 AandT/A_notifier.py ABC

A_notifier.py

import tkinter
Root = tkinter.Tk()
i = tkinter.Label(text="Hello World")
i.pack()
Root.mainloop()

I tried running the file directly using at. it did nothing i tried running it through a shell script. it did nothing again i tried switching the Python script out for a simple hello world one. and it did nothing i also tried removing aplay from the script(an.sh)and that didn't work ether

Upvotes: 0

Views: 116

Answers (0)

Related Questions