1 * * * * wget -O /dev/null -o /dev/null my-example-website.com
1 * * * * wget -O /dev/null -o /dev/null my-example-website.com
grep -siRlI 'africa' all-documents/ | xargs mv -t documents-africa/
tar --exclude='./dir2ignore' --exclude='./cache_etc' -zcvf /backup/myarchive.tar.gz .
So geht es:
drush php-eval 'my_custom_module_cron();'
Controller könnte so aussehen:
Command 1:
drush sql:dump | gzip -c > /home/backup/db-$(date +%Y-%m-%d-%H%M).sql.gz
Error:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
Lösung:
Code:
find / -name art 2>&1 | grep -v "Permission denied"
service solr status
https://lucene.apache.org/solr/guide/8_5/taking-solr-to-production.html
*** [WARN] *** Your open file limit is currently 1024. It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Neueste Kommentare
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:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert:
I have a view with a path…
I have a view with a path like
/my-content-export
to export entivies as JSON or CSV.admin_toolbar 3.5.2 is the…
admin_toolbar 3.5.2 is the reason. Patch coming ...
Drupal 10.4, in a custom View
Drupal 10.4:
Tools & Settings >> Security…
Tools & Settings >> Security Policy :
Allow only secure FTPS connections
List config vaiables
/usr/sbin/mariadbd --help --verbose | grep "query.*size"
Restart MariaDB / MySQL
Commandline:
MariaDB Restart (after changes in /etc/mysql/db-performance.cnf)
After my changes in /etc/mysql/db-performance.cnf