Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to schedule a task ? #160

Open
nemoleo opened this issue Nov 11, 2022 · 1 comment
Open

How to schedule a task ? #160

nemoleo opened this issue Nov 11, 2022 · 1 comment
Labels

Comments

@nemoleo
Copy link

nemoleo commented Nov 11, 2022

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 ?

@BlueM
Copy link
Owner

BlueM commented Sep 27, 2023

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.

@BlueM BlueM added the question label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants