- Edit
serverless.yml
, thehandler
path should be from the root folder (notdist/**/your_handler.main
or from any directory with compiled files), for instance:... my_function: handler: handlers/my_function.main ...
- Edit
serverless.yml
addingserverless-plugin-typescript
to the plugin section:
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Colocar este script en la ruta del server (ej: /opt/jboss7) | |
# 2. Dar permisos de ejecución: | |
# | |
# chmod +x server_clean.sh | |
# | |
# 3. Agregar las correspondientes líneas al servicio cron: | |
# | |
# 00 00 1 * * /opt/jboss7/server_clean.sh | |
# 00 00 4 * * /opt/jboss7/server_clean.sh | |
# 00 00 7 * * /opt/jboss7/server_clean.sh |
NewerOlder