I will give an example of configuring the execution of NextCloud background jobs via Cron, which will work stably in contrast to AJAX background jobs.
Continue reading “NextCloud. Background jobs via cron”Tag Archives: cron
How to write CRON logs to a separate file
By default, cron logs are written to the /var/log/syslog file, and the result of the tasks is sent to an email to the user on whose behalf the task is executed, for example, when I executed the script, an entry was added to /var/log/syslog:
Continue reading “How to write CRON logs to a separate file”Clearing FDB tables on D-Link DGS-3100 from CRON
In 2013, I came up with a primitive solution to the problem with the D-Link DGS-3100 switch, which with an average load can often stop passing traffic through itself.
Continue reading “Clearing FDB tables on D-Link DGS-3100 from CRON”Backup Ubiquiti Device Configuration (UBNT)
Somehow, our Ubiquiti (UBNT) antennas beat thunderstorms, which then had to be repaired, changed and naturally tuned again. Therefore, I decided to make an automatic copy of the configuration.
Continue reading “Backup Ubiquiti Device Configuration (UBNT)”Solution of the error “Please run this cronjob as user amavis”
After installing updates on Ubuntu 14.04.1 LTS, an error with the text began to appear daily:
/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1
The reason was the update of amavis and the migration when updating the configuration file /etc/cron.daily/amavisd-new in /etc/cron.d/amavisd-new, and for some reason the old file was not deleted.
As a result, the solution to this problem – make sure that the configuration file /etc/cron.d/amavisd-new is present and delete the old file /etc/cron.daily/amavisd-new.
Using and configuring CRON
Cron — task scheduler in UNIX-like operating systems, used for periodic execution of tasks at a certain time.
Continue reading “Using and configuring CRON”