I need to schedule an AppleScript for reboot the system every day at 08:30. This computer does have yet an automatic boot scheduled with system preferences so I cannot use it again.
the script I can use is this:
tell application "System Events" restart end tell
what is the best method to call this script at a certain time every day?
Thank you
Thank you all! I tried all the methods you wrote and I found that for my case, the best way is using crontab.
So I did in Terminal:
crontab -e
and added this line:
30 08 * * * osascript /path/to/my/script.app
So every day at 08:30 the system reboots.