Is it okay to remove almost all cron jobs?

Hey,

I’m trying to get the best out of hestiacp, and tried to work with a lot of cron jobs removed.

ATM it seems that everything works, but I’m wondering if I did something wrong or not

MAILTO=“”
CONTENT_TYPE=“text/plain; charset=utf-8”
10 0 * * * sudo /usr/local/hestia/bin/v-update-sys-queue daily
40 2 * * * sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl
*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-queue backup
10 05 * * * sudo /usr/local/hestia/bin/v-backup-users

I am using SSL and backups so I only keep those crons.

Was that a good idea or is it a bad one to have removed all the other crons? (And why? I realy like hestiacp and would like to learn more about that)

Thanks in advance and have a nice day!

why would you do that? You don’t want ‘automatic backups’?

To be honest I didn’t know I had disabled automatic backups… So I think it was a good thing to ask the question :sweat_smile:

What are you trying to accomplish?

Personally, I wish that there was a simple toggle to disable temporarily or permanently cron jobs.

I don’t think that is possible, is it? I think that would be a cool feature. I just don’t see why deleting cron jobs would be a good idea.

10 00 * * * sudo /usr/local/hestia/bin/v-update-sys-queue daily
Syncs up some daily tasks

15 02 * * * sudo /usr/local/hestia/bin/v-update-sys-queue disk
10 00 * * * sudo /usr/local/hestia/bin/v-update-sys-queue traffic

Update date and disk space info in the Web UI

30 03 * * * sudo /usr/local/hestia/bin/v-update-sys-queue webstats

Runs AWstats

*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-queue backup

Make sure when a user creates a backup or restores it via the pannel it get executed

10 03 * * * sudo /usr/local/hestia/bin/v-backup-users

Backup users

20 00 * * * sudo /usr/local/hestia/bin/v-update-user-stats

Update user stats

*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-rrd

Update RRD graphs

10 7 * * * sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl

Update Lets encrypt

There are for specific reasons and personally don’t take a lot of resources maybe traffic calculations

So It shouldn’t hurt to keep them enabled…

5 Likes

Thank you so much!!

Can I ask a dumb question?

I don’t see any ‘cron jobs’ under admin user (I think that is where I usually see it)

I just was surprised I can’t see the CRON jobs there

Those cron jobs have been moved to Server Settings -> Configure -> Panel Cronjobs

In version 1.9.x, the cron jobs run under the new user hestiaweb, so they are no longer under the administrator user.