Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: moOde 6.5.0 update cron script
#8
(04-28-2020, 09:29 AM)radu- Wrote:
(04-27-2020, 12:43 PM)Tim Curtis Wrote: From SSH you can use the command below.

Code:
sudo /var/www/libupd-submit.php

Yes, but it's the same as for the API request: I can't get an exit code to know the status of the update.

You could write a shell script that uses command-line tools instead of the php script, but I don't see the point myself when a cronjob could run the php script.
I have one I wrote but it doesn't do the cover update, it does the mpd db update and clears the tag cache. Would you like me to share as a starting point?
Reply


Messages In This Thread
moOde 6.5.0 update cron script - by radu- - 04-27-2020, 06:49 AM
RE: moOde 6.5.0 update cron script - by radu- - 04-27-2020, 12:25 PM
RE: moOde 6.5.0 update cron script - by radu- - 04-27-2020, 12:35 PM
RE: moOde 6.5.0 update cron script - by radu- - 04-28-2020, 09:29 AM
RE: moOde 6.5.0 update cron script - by vinnn - 04-28-2020, 09:52 AM
RE: moOde 6.5.0 update cron script - by radu- - 04-28-2020, 10:18 AM

Forum Jump: