All Questions
864
questions
0
votes
0
answers
12
views
REplit + Node JS - How to override local file JSON data
My code snippet works with node js but my actual file “LOCAL_JSON_FILE_PATH” does not update with the new data. I want to remove old data from the file and import new data at set times.
My code works ...
0
votes
0
answers
16
views
Node.js cron task. Multiprocessing or parallel?
There is a MongoDB with 100k records and there is a cron task (using the node-cron module) that runs every hour to process these 100k records. The processing itself takes one hour.
Could you advise on ...
0
votes
0
answers
23
views
how to check in twilio, which number will be used to send text from & to, i need it to be my number & not any random no., how to verify or change?
So i'm a bit new and i tried to do this tutorial but i'm confused about the trial number provided by the twilio and was wondering how can i change it, i have linked the video i was referring to
#...
0
votes
0
answers
101
views
Site on render.com "suspended due to a high volume of service-initiated traffic" without warning
For the last few months, I've been running an app using render.com. I noticed the app was having issues to today I logged in to find this warning:
Your service has been suspended due to a high volume ...
0
votes
0
answers
17
views
How to handle google OAuth2 sign (google sheets service)
I have a problem, how do we authenticate google sheets, google apis when running an instance on the backend the code I have provided needs to be run on an cron
How Do I implement this, with a cron job,...
-1
votes
0
answers
16
views
Creation of a lyric bot using Node.js and Cron
I am currently trying to create a lyric bot for twitter that randomly tweets lyrics at every single hour of the day.
This is what my code currently looks like:
require("dotenv").config({ ...
0
votes
1
answer
29
views
start node.js script from python script in crontab
Ubuntu 22.04.2 LTS
Python3.11
Node v22.2.0
I'm trying to run a node.js script from a Python script by running a Python script from crontab, but nothing happens exactly in the part where the node.js ...
0
votes
0
answers
26
views
Script runs from CLI but not in CRON
I'm aware that this is a very vague question but I'm hopeful someone more knowledgeable can help.
My setup is as follows:
I have a simple node docker container
I use it to run Node.js scripts from ...
2
votes
1
answer
63
views
How to deal with chunk data for cronjob with BullMQ?
I am working on a cronjob with BullMQ node module.
I have 3000 users and I want to seperate 3 jobs, which one job is for 1000 users, and process cronjob.
But when I run this code, it performs many ...
0
votes
0
answers
81
views
Problems with cron job in node js and vercel
I need to create a feature so that a function is automatically executed once a day in my Node JS application.
I have a (very simple) test function that was implemented as follows:
//src/schedules/...
0
votes
0
answers
15
views
Node.js Instances with Cronjobs: Control Flag Issue Resulting in Looping Behavior
I'm encountering an issue with my Node.js program where I have three instances running concurrently, each containing a cronjob managed by the cron library. However, intermittently, the control flag ...
0
votes
0
answers
26
views
Overwhelming of the Agenda cron jobs on the server
I have about 30 cron jobs to handle pushing the notifications. I use Agenda package to handle these cron jobs. But the notification service is blocked every 2 or 3 weeks without any exception so I can'...
0
votes
0
answers
24
views
Building a service which sends emails everyday to the user at a particular time. (NOT RUNNING)
i was writing code for a service which sends email daily to the user at the given time input by the user in the frontend. The time gets stored in timings collection for that particular user and then, ...
0
votes
1
answer
32
views
Activity status in Node js
I am making a pet-project in MERN stack where I want to implement the activity status of users. After 3 minutes of inactivity the user status becomes inactive. One approach i am considering is by node-...
0
votes
0
answers
12
views
Scalable Architecture for an Uptime Bot Tool in Node.js Handling Thousands of Cron Jobs Per Minute
I am planning to build an uptime bot tool using Node.js, where users can register their websites and specify intervals for uptime checks. The challenge I'm facing is designing a scalable architecture ...