[ale] Bonehead crontab mistake

Ben Coleman oloryn at benshome.net
Thu Dec 22 19:10:47 EST 2016


On 12/22/2016 06:52 PM, DJ-Pfulio wrote:
> Thought I'd share this mistake I made with a crontab.
> 
> Wanted an RSS feed update job to run every other hour, so entered ...
> 
> 
> #m h  dom mon dow   command
> * */2  *  *  * /usr/bin/php -f /var/www/html/nextcloud/cron.php
> 
> into the appropriate crontab.  See the mistake? It isn't spacing.

It runs every minute of every other hour?

Ben
-- 
Ben Coleman oloryn at benshome.net | For the wise man, doing right trumps
http://oloryn.benshome.net/     | looking right.  For the fool, looking
Amateur Radio NJ8J              | right trumps doing right.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://mail.ale.org/pipermail/ale/attachments/20161222/70b92afa/attachment.sig>


More information about the Ale mailing list