Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cron job keeps inserting new lines

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
docker, shell
Domain
devops

Research direction

Start with root/usr/local/bin/init.sh at line 8 and inspect how the cron entry is added when the container starts. Recreate a container startup or restart and verify that the cron job is present only once, without duplicate lines.

Written by the indexing model from the issue text.

Description

https://github.com/Fmstrat/plex-sync/blob/e6c71237c898673562a3af82b6ed42517820e88b/root/usr/local/bin/init.sh#L8

Since plex-sync-job is not part of the new job added ($CRON_SCHEDULE /usr/local/bin/job.sh >> /var/log/cron.log 2>&1), every time the container starts up, it adds a new job.

Dominant language
Shell
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

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.

More from Fmstrat/plex-sync

All issues in Fmstrat/plex-sync

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.