Simple cron job that creates a backup from a MySQL DB and uploads it to Google Drive
- 📦 Install dependencies
npm install
- ⚙️ Configure .env file
- (You'll need a Google OAuth 2.0 Client ID, Secret & Redirect URI)
- 🛠️ Build the app
npm run build
- 🚀 Start cron job
npm run start
or
pm2 start pm2/ecosystem.config.js