-
Notifications
You must be signed in to change notification settings - Fork 325
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
termux-job-scheduler not running jobs #78
Comments
What's inside ~/scripts/check-shell.sh ? |
It's a script to check if an SSH process is running and if it isn't it runs another script to re-establish the tunnel (this isn't my most elegant script):
As a hack-ey control, you can see that I have it echo the time that the script is run to I did have a thought, maybe Termux's job scheduler handles STDOUT differently so that the echo command isn't ever redirected to the file? I would guess not because the SSH connection never gets re-established, but just a guess. |
Run |
That seems to have fixed it. Thanks! |
Trying to run a script with the job-scheduler and it doesn't seem to run every 15 minutes (despite it showing up in
termux-job-scheduler --pending
).Aside from installing the
termux-api
package, is there something I need to do to ensure the job is runs?Here is my command to schedule the job:
Here is the pending job:
Again, is there some other step I am missing to ensure that my job runs?
The text was updated successfully, but these errors were encountered: