Conversation
mrmarkuz
requested changes
Feb 4, 2026
Member
DavidePrincipi
left a comment
There was a problem hiding this comment.
Just for the record, opened a discussion thread here
https://mattermost.nethesis.it/nethserver/pl/tus9w9owg7ygjj6s1sm6qumqra
mrmarkuz
requested changes
Feb 5, 2026
|
|
||
| Example cron job to run a daily backup at 2:00 AM:: | ||
|
|
||
| 0 2 * * * /path/to/backup-script.sh |
Member
There was a problem hiding this comment.
To ensure that the cron script is saved inside a volume it needs to be inside the /app directory.
0 2 * * * /app/path/to/backup-script.sh
Contributor
Author
There was a problem hiding this comment.
good shot, why nobody complaining it, I am not a big fan to drop it inside the /app, it is a web folder, what about to mount ./scripts:/usr/local/sbin/ inside the container
I have already something in /usr/local/bin/ I do not want to overwrite it
Co-authored-by: Davide Principi <davide.principi@nethesis.it>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Include comprehensive documentation for the LAMP stack in the new
lamp.rstfile and update the index to reference this addition. This enhances the user guide for deploying and managing LAMP applications.