[ale] Bonehead crontab mistake
DJ-Pfulio
djpfulio at jdpfu.com
Thu Dec 22 20:05:44 EST 2016
Correct. Saw Derek's answer too.
And the fix was to pick any minute for the task to run.
#m h dom mon dow command
7 */2 * * * /usr/bin/php -f /var/www/html/nextcloud/cron.php
Been doing this 25+ yrs and still made this mistake. Now I can redirect stdout
to /dev/null, so only exceptions cause an email. ;)
On 12/22/2016 07:10 PM, Ben Coleman wrote:
> 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?
>
More information about the Ale
mailing list