1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00
appwrite/bin/schedule

12 lines
290 B
Plaintext
Raw Normal View History

2020-07-21 08:05:36 +12:00
#!/bin/sh
2020-07-06 01:51:20 +12:00
2021-01-31 18:24:38 +13:00
if [ -z "$_APP_REDIS_AUTH" ]
then
REDIS_BACKEND="${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
else
REDIS_BACKEND="redis://${_APP_REDIS_AUTH}@${_APP_REDIS_HOST}:${_APP_REDIS_PORT}"
fi
RESQUE_PHP='/usr/src/code/vendor/autoload.php'
php /usr/src/code/vendor/bin/resque-scheduler