<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="+1"><font face="monospace">Hi guys,<br>
<br>
In the main application i am developing I need some stuff<br>
to happen at regular times. For example, I need to update the <br>
cost of delivery of some goods (which i take from the web), or <br>
I need to delete users who have not completed the mail
verification process.<br>
<br>
Up to now, the better i could figure was to put something like<br>
this in the class "initialize" method. <br>
----------------------- <br>
[ [true] whileTrue: [<br>
(Delay forDuration: (Duration hours: 1)) wait.<br>
Transcript log: '--> Autoclener runs now'.<br>
self deleteClientiNonVeritificati24H .<br>
]<br>
] forkAt: (ProcessorScheduler userBackgroundPriority)
named: 'ClientiDB timer - rimuove i non-autenticati'. <br>
------------------------------<br>
<br>
Is there any better ? A more general way ? Maybe a package <br>
providing something like cron or systemd-timers ?<br>
<br>
<br>
bye<br>
Nicola<br>
<br>
<br>
<br>
<br>
<br>
</font></font>
</body>
</html>