Problem:
The Drush launcher could not find a local Drush in your Drupal site
Solution?
Problem:
The Drush launcher could not find a local Drush in your Drupal site
Solution?
for user in $(cut -f1 -d: /etc/passwd); do printf " \n\n -------- $user : \n "; crontab -u $user -l; done
cronjob für zb root:
11 * * * * root /usr/lib/command
Wenn man ein Befehl nach Reboot ausführen möchte oder ein App starten möchte, kann man es mit Hilfe von Cronjobs machen
# crontab -e
@reboot sleep 120 && /var/meinapp/bin/appd --config /var/meinapp/conf/settings.conf
Um Crobtab als Text-Datei zu speichern:
crontab -l > /path/to/mein-crontab.bak.txt
Um die Backup-Datei zu importieren:
crontab /path/to/mein-crontab.bak.txt
Szenario:
Mehrere Personen laden tausende Dateien wie Bilder-Videos usw per FTP hoch. Eine Überschreibungsgefahr existiert. Wir wollen Dateien die komplett hochgeladen sind, verschieben. In diesem Fall, Dateien, die in der letzten 11 Minuten geändert wurden, werden als offene Dateien behandelt und nicht verschoben. Rest wird verschoben.
* * * * * /usr/bin/find /home/meinFTPOrdner1 -mmin +11 -exec /bin/mv -v {} /home/meinFTPOrdner2/ \; >> /logs/output-von-mv.txt
Diese Fehler steht in Logs, wenn der Cronjob läuft :
/bin/sh: 1: Syntax error: end of file unexpected (expecting ")")
Was ist hier in diesem Cronjob-Eintrag falsch?
41 18 * * * /bin/tar -zcf /backups/www_$(date +%Y-%m).tar.gz /home/website2/public_html
Cron.php ausführen bei Drupal 6 ist kein problem aber mit Drupal 7 kommt Cron Key Authentifizierung. Man sucht unter System Cron aber da ist es nichts. nach lange Suche finde ich Cron_Key unter Status >> Reports.
Neueste Kommentare
Try this:1. Go to Tools &…
Try this:
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem:
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution: