16-03-2021
This commit is contained in:
21
docs/Synology/crontab.md
Normal file
21
docs/Synology/crontab.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# crontab
|
||||
|
||||
|
||||
|
||||
Ouvrir la crontab:
|
||||
|
||||
```bash
|
||||
bruno@DS916:~ $ sudo -i
|
||||
Password:
|
||||
root@DS916:~# nano /etc/crontab
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
Redémarrer le service cron:
|
||||
|
||||
```bash
|
||||
root@DS916:~# synoservice -restart crond
|
||||
```
|
||||
|
||||
@@ -508,7 +508,23 @@ You are already using composer version 1.7.1 (stable channel).
|
||||
Utiliser `--unsafe-perm`
|
||||
|
||||
```bash
|
||||
sudo npm install -g thumbsup --unsafe-perm
|
||||
$ sudo npm install -g thumbsup --unsafe-perm
|
||||
```
|
||||
|
||||
ou
|
||||
|
||||
```bash
|
||||
# Erreur EACCES /opt/tmp
|
||||
|
||||
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
|
||||
|
||||
$ nvm install --lts=fermium
|
||||
|
||||
$ npm config set prefix '~/.npm-packages'
|
||||
$ npm config set tmp '/tmp'
|
||||
|
||||
$ npm -g install npm
|
||||
$ npm -g install thumbsup
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user