Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // lihat isi object
- const util = require('util')
- console.log(util.inspect(myObject, {showHidden: false, depth: null}))
- // alternative shortcut
- console.log(util.inspect(myObject, false, null, true /* enable colors */))
- // wait timeout
- await new Promise(resolve => setTimeout(resolve, 5000))
- // Run function in script from command line
- node -e require('./db').init()
- node -e require('./src/ftp.js').downloadftp('./remotefile/namafile.zip','d:/localfile/namafile.zip')
- // sqlldr, menjalankan sqlldr dari spawn nodejs harus menggunakan versi 18.14, jika pakai 18.18 error gak bisa jalan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement