Site Map - skip to main content

Hacker 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 >>

Thumbnail of ToeJet
Hosted by ToeJet on 2021-03-23 is flagged as Clean and is released under a CC-BY-SA license.
Nextcloud,SysAdmin,Admin. 2.

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:02:16

general.

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-02 12:48:18 by ychaouche

safe ?

What if an updated app isn't compatible with current nextcloud version ?
Comment #2 posted on 2021-09-21 16:32:18 by Ken Fallon

+1

Used this today

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 ?