Skip to content

build(deps): bump phpgt/cron from 1.1.0 to 1.2.0#718

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/phpgt/cron-1.2.0
Open

build(deps): bump phpgt/cron from 1.1.0 to 1.2.0#718
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/phpgt/cron-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bumps phpgt/cron from 1.1.0 to 1.2.0.

Release notes

Sourced from phpgt/cron's releases.

Custom expressions and running tasks now

This release makes the runner more useful during development, and opens up the schedule parser for project-specific behaviour. We can now use custom ExpressionFactory implementations to teach the parser extra schedule tokens, such as @start, while still falling back to ordinary cron expressions. The built-in parser also accepts nickname schedules including @hourly, @daily, @weekly, @monthly, @yearly, and @annually.

The crontab syntax now supports second-precision schedules with an s suffix in the first field:

  • */10s * * * * hello

That runs hello every 10 seconds, which is useful for local development, short-running workers, or jobs where minute precision is not enough.

The CLI has gained a more targeted --now mode. We can still run every task immediately:

  • vendor/bin/cron --now

Or run one named job by its displayed command name:

  • vendor/bin/cron --now hello

This works well with --watch, so a single job can be triggered once before the normal schedule continues.

Runner output is also clearer. It now prints the current time, shows the next job name, and includes the UTC time when the local timezone is not UTC. The runner detects the system timezone from TZ, /etc/localtime, or /etc/timezone.

Other improvements include better command display names for scripts, static methods, and query-string script calls; corrected alias loading for go() scripts; updated examples; and updated development tooling, including PHP_CodeSniffer 4 support.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [phpgt/cron](https://github.com/phpgt/Cron) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/phpgt/Cron/releases)
- [Commits](phpgt/Cron@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: phpgt/cron
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jul 8, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants