Skip to content
dentrosPublic

About

Small generic Windows/dev utility scripts.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

tweaks

Small, generic Windows utility scripts. Not tied to any specific project.

run-backup.bat / setup-schedule.bat

A minimal pattern for running a Node.js backup script on a daily Windows schedule, with logging.

  • run-backup.bat: runs node backup.js from its own folder, logs output to backup-log.txt, reports success/failure.
  • setup-schedule.bat: registers run-backup.bat as a daily Windows Scheduled Task (via schtasks) at a fixed time. Edit the time (/st) and task name (/tn) to suit your own project.

These two scripts are backend-agnostic: drop your own backup.js (or rename the node backup.js line to whatever your backup command is) next to run-backup.bat and run setup-schedule.bat once (as Administrator) to schedule it.

About

Small generic Windows/dev utility scripts.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages