• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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