Skip to content

Commit

Permalink
Update job_changes.js
Browse files Browse the repository at this point in the history
  • Loading branch information
oraghalb committed Feb 9, 2024
1 parent cc2b6b7 commit d58e4bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/job_changes.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
var FROM="2023-12-01"; //on or after this date
var TILL="2024-01-01"; //before this date
const WRITE_TO="2024-01-01_entrylist.txt";
var FROM="2024-01-01"; //on or after this date
var TILL="2024-02-01"; //before this date
const WRITE_TO="2024-02-01_entrylist.txt";

//------

const fs=require("fs");
const Database = require('better-sqlite3');
//const db = new Database('../data/termbases/bnt.sqlite', { fileMustExist: true });
const db = new Database('C:/Users/oraghab/Documents/BOR/zzz/bnt/bnt-2024-01-02_1001.sqlite', { fileMustExist: true });
const db = new Database('C:/Users/oraghab/Documents/BOR/zzz/bnt/bnt-2024-02-09_1251.sqlite', { fileMustExist: true });

fs.writeFileSync(WRITE_TO, "");
db.prepare(`select h.id, h.[when], h.email, h.entry_id, h.json as json_new, (
Expand Down

0 comments on commit d58e4bd

Please sign in to comment.