209 похожих чатов

Доброе утро всем. ситуация такая. решил подключить cron для того

что бы чекать не стала ли хоть одна строка по столбцу "to", который хранит данные формата Date старее нынешней даты. как лучше всего будет управляться с кроном? создать две работы и одна из которые чекала бы столбцы с чëтными id, а друга с нечëтными? даже если так, то как лучше всего получать всю таблицу? в каждую работу по отдельности или создать третью которая каждый день бы парсила таблицу?

4 ответов

4 просмотра
384- Автор вопроса

или вообще можно отказаться от cron'а и использовать какие то внутренние методы typeorm (помимо @AfterLoad и др.)

Одна крона Получить все записи у которых to < текущей даты

384- Автор вопроса
Дмитрий Могилевцев
Одна крона Получить все записи у которых to < теку...

с какой переодичностью? не слишком большая нагрузка будет?

Похожие вопросы

Обсуждают сегодня

A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
38
How Will #Monero Be Attacked? First of all I want to tell you that this is not teaching the network attackers, the central regulators. They already know how to attack the net...
Li₿ΞʁLiøη
3
There are too many wallet applications in the Egfo ecosystem. It is really hard to keep track of these wallets. Which wallet should we send ergo or other coins to? Why shoul...
Şerafettin Bayrakdar
4
Bhai mera Wazirx Account locked kr diya hei inhone to use unlock kese kru ?? Kisi ke ye problem aayi aur solve ho gayi hei to batao ?
Govind Jarwal
33
What do you thing about new fees in litewallet, guys? $0.20 min and $3 max?
GGayAllin R
12
Been reading about the IPFS links for RH tokens/projects. I still use the links rather than run the software, but sounds like it’s time to download & run the software. What’s ...
H N
7
Mike, thanks for the answers. Not that I want to stress, but would u agree that in the meantime Kadena needs to get some attention. Market cap is melting together with trust. ...
Rasmus
4
Some news on bonding guys?
A D
8
Hello guys I was wondering whether if it is OK to download the monero block chain without using tor?? Does that effect the privacy of the wallet I want to connect the monero b...
Jackisow
13
Hello, I am Ashamer from UNCX, a DeFi service provider. I am contacting you to ask if there is any room for a potential collaboration. Is there anyone whom I can potentially t...
Ashamer
19
Карта сайта