You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On further examination, apparently the hang is due to the lack of an explicit --network option, because despite termux-job-scheduler -h saying that the default for --network is "none", JobSchedulerApi.java does not handle the case where networkType == null.
I submitted a PR which adds handling for this case, with a default of "any" (which I think is more sensible than the default "none", however feel free to change that).
Problem description
termux-job-scheduler
is unable to schedule a job, and hangs when I try to.Steps to reproduce
Expected behavior
script
is scheduled to run every 30m ± 5m andtermux-job-scheduler
exits.Actual behavior
the script runs once, but
termux-job-scheduler
hangs.termux-job-scheduler --pending
run in another session doesn't output anything.Additional information
termux-info:
Log: log-adb.txt
The text was updated successfully, but these errors were encountered: