Site Map - skip to main content

Hobby Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3297 :: Nextcloud Application Updating

Automatically Update Nextcloud Applications via Cron

<< First, < Previous, Latest >>

Host Image
Hosted by ToeJet on 2021-03-23 is flagged as Clean and is released under a CC-BY-SA license.
Tags: Nextcloud,SysAdmin,Admin.
Listen in ogg, spx, or mp3 format. | Comments (1)

Simple method to autoupdate nextcloud apps. An email is sent as summary of actions.

Scheduled for 5 AM Sunday - Cron Entry

MAILTO=MYEMAILADDRES@MYDOMAIN.com
0 5 * * 0 /usr/bin/php /var/www/nextcloud/occ app:update --all 2>&1
# * * * * * command to be executed
# - - - - -
# | | | | |
# | | | | +----- day of week (0 - 6) (Sunday=0)
# | | | +------- month (1 - 12)
# | | +--------- day of month (1 - 31)
# | +----------- hour (0 - 23)
# +------------- min (0 - 59)

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2021-05-02T12:48:18Z by ychaouche

safe ?

What if an updated app isn't compatible with current nextcloud version ?

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?