Skip to content

jazmy/ezmessagemanager-cron

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

EZMessageManager Cron

EZMessageManager is a web application to schedule sending emails & slack messages to employees based on dynamic queries. It includes a frontend, backend, and cron.

Running Locally Instructions

Update Environment Variables

Rename .env.example to .env

MAIL_TRAP_USER=1e0c15eb327e34
MAIL_TRAP_USER_PASS_WORD=16cdcc11cdf63a
EmailFrom= no-reply@jaz.com
STRAPI_APP_SERVER_URL=http://localhost:1337/
PORT_NUM=4000
origin=http://localhost:3000

Please note

ORIGIN means the URL to frontend server STRAPI_APP_SERVER_URL means the URL to backend server.

Install Dependencies

yarn
npm install pm2 -g

Run Cron Service

pm2 start index.js
pm2 list
pm2 logs

Stop cron service

pm2 delete all
pm2 kill

Refresh cron service

pm2 restart all

kill the port when done testing*

npx kill-port 4000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published