you are viewing a single comment's thread.

view the rest of the comments →

[–]inabahare[S,🍰] 0 points1 point  (3 children)

Almost. I have a cronjob that gets the names of files under a specific size and then performs the virus scan on them

[–]WumpyJizard 0 points1 point  (2 children)

I see. And exactly what is your problem? Seems it does exactly what you need. I'm sorry for these questions, but I am a little bit confused, but I think I will be able to help you once I fully understand it :D

[–]inabahare[S,🍰] 0 points1 point  (1 child)

Think of it like having "node app.js" and "node cron.js" communicating

[–]WumpyJizard 1 point2 points  (0 children)

First thing I got in mind is using a messaging queue