cliclick
cliclick copied to clipboard
How to schedule a task ?
I have seen there is a 'w' command to excute command after a while, but if i wanna to schedule a task happen just in 7:00:00. which command could make this happen ?
Sorry for the late answer. You could use the sleep command to delay execution. Not what I’d call elegant, but should work. In your case, with 7 hours (= 25,200 seconds) this could be used like …
sleep 25200 && cliclick c:123,456
Disclaimer: I’ve never used sleep with a time that long. And of course, your Mac would have to be awake at that time.