Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
befb6cd4
Commit
befb6cd4
authored
1 year ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add /usr/local/bin to wpcron PATH
Needed to find wp-cli, a dependency of noblogs-cli.
parent
62beacc5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#59706
passed
1 year ago
Stage: build
Stage: container-test
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/conf/services.d/wpcron/run
+6
-1
6 additions, 1 deletion
docker/conf/services.d/wpcron/run
with
6 additions
and
1 deletion
docker/conf/services.d/wpcron/run
+
6
−
1
View file @
befb6cd4
#!/bin/sh
# Run WP-Cron periodically.
# Need to be able to find wp-cli in /usr/local/bin
export
PATH
=
$PATH
:/usr/local/bin
# The "run-cron" execution takes a few minutes, so the actual period
# comess out at something closer to 10 minutes.
export
BATCH_SIZE
=
300
exec nice
ionice
-c
3 every 300 on-local-blogs run-cron
>
/dev/null
exec nice
ionice
-c
3 every 300 on-local-blogs run-cron
>
/dev/null
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment