Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr3873 :: Nextcloud instance updating

Automatic updating of Nextcloud Installation

<< First, < Previous, , Latest >>

Thumbnail of ToeJet
Hosted by ToeJet on Wednesday, 2023-06-07 is flagged as Explicit and is released under a CC-BY-SA license.
Nextcloud, SysAdmin, Admin. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr3873

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

Duration: 00:02:33

general.

Things about environment:

  • Headless server
  • Nextcloud On Fedora 38
  • Apache Web Server
  • Nextcloud runs as apache user
  • Nextcloud installed in alternate directory /data/nextcloud
  • Apps are being updated according to
    http://hackerpublicradio.org/eps.php?id=3297
    Automatically Update Nextcloud Applications via Cron
root@homeserver ~]# crontab -l -u apache
MAILTO=NAME@domain.com
# m h d m w
# * * * * * 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)
# m     h    dom mon dow command

#Nextcloud
#Cron Updates 
*/5 *   *   *   *   /usr/bin/php -f /data/nextcloud/cron.php >/dev/null 2>/dev/null
#App Updates
0   5   *   *   0   /usr/bin/php /data/nextcloud/occ app:update --all 2>&1
#Update Next Cloud
0   1   *   *   0   /usr/bin/php --define apc.enable_cli=1 /data/nextcloud/updater/updater.phar --no-interaction

Comments

Subscribe to the comments RSS feed.

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 letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?