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 Nov 11, 2024
1 parent 85a8951 commit 52ce301
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="2024-09-01"; //on or after this date
var TILL="2024-10-01"; //before this date
const WRITE_TO="2024-10-01_entrylist.txt";
var FROM="2024-10-01"; //on or after this date
var TILL="2024-11-01"; //before this date
const WRITE_TO="2024-11-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-10-03_1605.sqlite', { fileMustExist: true });
const db = new Database('C:/Users/oraghab/Documents/BOR/zzz/bnt/bnt-2024-11-06_1751.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 52ce301

Please sign in to comment.