termux / termux/termux-api-package

termux-job-scheduler hangs without any message

Open
#80 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
1.7k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm trying to schedule a job as follows: termux-job-scheduler --period-ms 86400000 --script /storage/emulated/0/Backup/rsync.sh --network any

The script is simply a small rsync job to sync some photos.
When I issue the command, nothing happens.

I thought it might be related to https://github.com/termux/termux-api-package/issues/78 or https://github.com/termux/termux-api/issues/276 but it doesn't seem so.

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the termux-job-scheduler command with the supplied script, period, and network arguments, then compare the behavior with the related issues 78 and 276. Trace where the command should report status or schedule the rsync job; done means the command no longer hangs silently and the scheduled job has a visible result.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.