Hello there,
I am a bit confused on setting up notify_push on nextcloud. The Nextcloud admin documentation and notify push setup command doesn’t seem to show the same thing.
I am using systemd to setup and this is what it looks like based on admin documentation
I followed the notify_push command to configure it.
I am not facing any warnings or errors on “Security and Setup Warning” but on background jobs, it shows this The last job execution ran 20 minutes ago. Something seems wrong.
You’re mixing up two completely different things here:
1. Background jobs (Nextcloud Cron Job)
The “Nextcloud Cron Job”, or the periodic execution of the cron.php script, performs various background tasks and should ideally be run every 5 minutes. You can either create a SystemD timer or a standard cron job to achieve this.
@bb77 Thank you so much, I was wrong and now I know.
After I setup the corn job using systemd, the error gone but still there is a warning saying Some jobs have not been executed since 10 days ago. Please consider increasing the execution frequency.
Yes, that is because some background jobs only run once a day. When an hour is defined for 'maintenance_window_start' in config/config.php, the background jobs which advertise themselves as not time sensitive will be delayed during the “working” hours and only run in the 4 hours after the given time. This is e.g. used for activity expiration, suspicious login training and update checks.
That could be the reason why that warning disappeared delayed.