Skip to content
Sign upLog in
← Back to Community

CronJob

Profile icon
Speedrace

How do I do a cronjob for a Discord Bot? I want it to do a certain action at 9:30 and 4:30, but I can't seem to find the proper documentation for implementing it into discord.js

Voters
Profile icon
TeukuRizqy
Profile icon
GhoulBond
Profile icon
Speedrace
Comments
hotnewtop
Profile icon
a5rocks
Profile icon
Speedrace

@a5rocks
The website they suggested is blocked for me :( is there anything else?

Profile icon
a5rocks

@Speedrace
search up webcron. Also, python has a built-in module called sched that might interest you.

Wait javascript.... Look up "scheduler" on https://npmjs.com

Profile icon
Speedrace

@a5rocks
Thank you!