• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

DrWeb Updates - cron script interpretation

bradz

Regular Pleskian
When I edit the update cron script for DrWeb
/etc/cron.d/drweb-update
I have entered
* 1 * * 0 drweb /opt/drweb/update.pl > /dev/null 2>&1
This should run every sunday at 1am
Or should it be
*/* 1 * * 0 drweb /opt/drweb/update.pl > /dev/null 2>&1
What is the */ for? Is it needed?
Thanks!
Brad
 
It is cron expressions. The '/' character is used to specify increments. For example "0/15" in the seconds field means "the seconds 0, 15, 30, and 45". And "5/15" in the seconds field means "the seconds 5, 20, 35, and 50". Specifying '*' before the '/' is equivalent to specifying 0 is the value to start with.
 
Back
Top