[Dxspider-support] Crontab
Dirk Koopman
djk at tobit.co.uk
Sat May 16 13:11:40 CEST 2020
Not a bug and not a feature. My crontab is not as clever as system
crontab. If you want to do that you'll have to write the minutes out in
a ',' separated list, like this:
00,05,10,15,20,25,30,35,40,45,50,55 * * * * .....
Copy'n'paste is a wonderful thing :-)
Dirk
On 16/05/2020 07:43, Joaquin . via Dxspider-support wrote:
> Hi Dirk,
> I have tried to run a script in the dxspider crontab every 5 min using
> "*/5", but I see that it runs at minute 0 of every hour.
> In the documentation I have not seen references to the use of "*/" as
> the system cron does.
> Is this a bug? Shouldn't I use it?
>
> Stay safe. Kin
> EA3CV
>
> DX Spider Cluster version 1.57 (build 226 git: 3b932bf2[r]) on Linux
> Ubuntu 18.04.4 LTS Kernel: Linux 5.0.0-1036-azure
>
> /local_cmd/crontab
>
> */5 * * * * spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl
> <http://wdog.pl> EA3CV-0 CW EA3CV")
>
> Debug:
>
> 1589587200^(cron) cron: 0 0 16 5 6 -> doing
> 'spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl>
> EA3CV-0 CW EA3CV")'
> 1589587200^(cron) DXCron::spawn:
> /home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl> EA3CV-0 CW EA3CV
> 1589590800^(cron) cron: 0 1 16 5 6 -> doing
> 'spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl>
> EA3CV-0 CW EA3CV")'
> 1589590800^(cron) DXCron::spawn:
> /home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl> EA3CV-0 CW EA3CV
> 1589594400^(cron) cron: 0 2 16 5 6 -> doing
> 'spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl>
> EA3CV-0 CW EA3CV")'
> 1589594400^(cron) DXCron::spawn:
> /home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl> EA3CV-0 CW EA3CV
> 1589598002^(cron) cron: 0 3 16 5 6 -> doing
> 'spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl>
> EA3CV-0 CW EA3CV")'
> 1589598002^(cron) DXCron::spawn:
> /home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl> EA3CV-0 CW EA3CV
> 1589601600^(cron) cron: 0 4 16 5 6 -> doing
> 'spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl>
> EA3CV-0 CW EA3CV")'
> 1589601600^(cron) DXCron::spawn:
> /home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl> EA3CV-0 CW EA3CV
> 1589605200^(cron) cron: 0 5 16 5 6 -> doing
> 'spawn("/home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl>
> EA3CV-0 CW EA3CV")'
> 1589605200^(cron) DXCron::spawn:
> /home/sysop/spider/contrib/ea3cv/wdog.pl <http://wdog.pl> EA3CV-0 CW EA3CV
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20200516/3f594aea/attachment.htm>
More information about the Dxspider-support
mailing list