Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Slayer128/Carltech-Bot
/ saveCronData
Function
saveCronData
lib/cron.js:18–20 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
16
17
// Save data to JSON file
18
function
saveCronData(data) {
19
fs.writeFileSync(filePath, JSON.stringify(data, null, 2));
20
}
21
22
// Create default file if it doesn't exist
23
if
(!fs.existsSync(filePath)) {
Callers
3
cron.js
File · 0.85
addCron
Function · 0.85
delCron
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected