Hi everyone
in Hestia Control Panel v1.9.2
in Configure Server: Cronjobs Table
it has this Error: /var/spool/cron/crontabs/hestiaweb file doesn’t exist
I checked the hestiaweb file doesn’t exist
Create and write the following content
MAILTO=""
CONTENT_TYPE="text/plain; charset=utf-8"
*/2 * * * * sudo /usr/local/hestia/bin/v-update-sys-queue restart
10 00 * * * sudo /usr/local/hestia/bin/v-update-sys-queue daily
15 02 * * * sudo /usr/local/hestia/bin/v-update-sys-queue disk
10 00 * * * sudo /usr/local/hestia/bin/v-update-sys-queue traffic
30 03 * * * sudo /usr/local/hestia/bin/v-update-sys-queue webstats
*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-queue backup
10 05 * * * sudo /usr/local/hestia/bin/v-backup-users
20 00 * * * sudo /usr/local/hestia/bin/v-update-user-stats
*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-rrd
05 3 * * * sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl
thanks for the reply.
i created the hestiaweb file but when i did, reboot on the VPS the file was not there.
After adding those lines to /var/spool/cron/crontabs/hestiaweb
you should execute this:
chmod 600 /var/spool/cron/crontabs/hestiaweb
chown hestiaweb:hestiaweb /var/spool/cron/crontabs/hestiaweb
I recreated the hestiaweb file,
and again the same, rebooted the VPS and again the file was there.
Strange, recreate the file again and modify owner, group and perms.
Before restart, show the output of these commands:
cat -A /var/spool/cron/crontabs/hestiaweb
namei -mo /var/spool/cron/crontabs/hestiaweb
cat: /var/spool/cron/crontabs/hestiaweb: No such file or directory
f: /var/spool/cron/crontabs/hestiaweb
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root spool
drwxr-xr-x root root cron
drwx-wx–T root crontab crontabs
hestiaweb - No such file or directory
But did you recreate it before executing those commands?
I haven’t done anything yet, I just executed the commands.
I requested to recreate the file first
I haven’t rebooted yet.
root@:~# cat -A /var/spool/cron/crontabs/hestiaweb
MAILTO=""$
CONTENT_TYPE="text/plain; charset=utf-8"$
*/2 * * * * sudo /usr/local/hestia/bin/v-update-sys-queue restart$
10 00 * * * sudo /usr/local/hestia/bin/v-update-sys-queue daily$
15 02 * * * sudo /usr/local/hestia/bin/v-update-sys-queue disk$
10 00 * * * sudo /usr/local/hestia/bin/v-update-sys-queue traffic$
30 03 * * * sudo /usr/local/hestia/bin/v-update-sys-queue webstats$
*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-queue backup$
10 05 * * * sudo /usr/local/hestia/bin/v-backup-users$
20 00 * * * sudo /usr/local/hestia/bin/v-update-user-stats$
*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-rrd$
41 7 * * * sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl$
10 5 * * * sudo /usr/local/hestia/bin/v-update-sys-hestia-all$
root@:~# namei -mo /var/spool/cron/crontabs/hestiaweb
f: /var/spool/cron/crontabs/hestiaweb
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root spool
drwxr-xr-x root root cron
drwx-wx--T root crontab crontabs
-rw------- hestiaweb hestiaweb hestiaweb
Ok, that’s correct, reboot the server.
the same thing again the file are not there.
I am thinking of doing a new VPS installation.
I don’t know what is removing it on every reboot…