update data immediately
This commit is contained in:
parent
1e8f183c74
commit
2243997eec
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ chown $app:$app "$install_dir/config.php"
|
|||
|
||||
chmod -R 700 "$install_dir/src/"
|
||||
chown -R $app:$app "$install_dir/src/"
|
||||
|
||||
php -r "require '/var/www/$app/src/server.php'; updateRemoteData(); ";
|
||||
crontab -l | { cat; echo "*/10 * * * * php -r \"require '/var/www/$app/src/server.php'; updateRemoteData(); \""; } | crontab -
|
||||
|
||||
### For more complex cases where you want to replace stuff using regexes,
|
||||
|
|
Loading…
Reference in a new issue