User Tools

Site Tools


servers:windows:nginx:friendica

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:nginx:friendica [2025/11/21 18:44] – [PHP] Sean Rhoneservers:windows:nginx:friendica [2025/11/29 01:08] (current) Sean Rhone
Line 178: Line 178:
  
   "%SystemDrive%\www\scripts\social\PHP-FPM.bat"   "%SystemDrive%\www\scripts\social\PHP-FPM.bat"
 +
 +===== Worker =====
 +
 +  "notepad.exe" "%SystemDrive%\www\scripts\social\Worker.bat"
 +
 +<code>
 +@echo off
 +
 +TITLE Social Worker
 +
 +"wsl.exe" --distribution openSUSE-Tumbleweed --cd "/mnt/c/www/social" -- '/usr/bin/php' '/mnt/c/www/social/bin/console.php' worker
 +
 +:: End</code>
 +
 +  "%SystemDrive%\www\scripts\social\Worker.bat"
  
 ===== Update ===== ===== Update =====
Line 208: Line 223:
 ===== Back-up ===== ===== Back-up =====
  
-  * TODO+  * ''D:\Servers\Scheduled Backups''
  
-  "notepad.exe" "%SystemDrive%\www\scripts\media\Back-up.bat"+  "notepad.exe" "%SystemDrive%\www\scripts\social\Back-up.bat"
  
 <code> <code>
 @echo off @echo off
 +
 +TITLE Social Back-up
  
 :: User\Downloads :: User\Downloads
-"tar.exe" -czf "%UserProfile%\Downloads\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+::"tar.exe" -czf "%UserProfile%\Downloads\friendica-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "social" 
 +::"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "%UserProfile%\Downloads\%RANDOM%-friendica.sql" "friendica"
  
 :: NAS :: NAS
-::"tar.exe" -czf "D:\Servers\Scheduled Backups\dokuwiki-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www\wiki" "data/pages" "data/meta" "data/media" "data/media_meta" "data/attic" "data/media_attic" "conf"+"tar.exe" -czf "D:\Servers\Scheduled Backups\friendica-files-auto-%RANDOM%.tar.gz" -C "%SystemDrive%\www" "social" 
 +"%ProgramFiles%\MariaDB 12.2\bin\mariadb-dump.exe-u "root--opt -r "D:\Servers\Scheduled Backups\%RANDOM%-friendica.sql" "friendica"
  
 :: End</code> :: End</code>
  
-  "%SystemDrive%\www\scripts\media\Back-up.bat"+  "%SystemDrive%\www\scripts\social\Back-up.bat"
  
 ===== Maintenance ===== ===== Maintenance =====
Line 300: Line 319:
 ====== Task Scheduler ====== ====== Task Scheduler ======
  
-  :!: TODO+****
  
   taskschd.msc   taskschd.msc
 +
 +===== Worker =====
 +
 +  * TODO: On-login, every 15 minutes
 +
 +  Social Worker
 +
 +  "%SystemDrive%\www\scripts\social\Worker.bat"
  
 ===== Update ===== ===== Update =====
  
-  * ''12:00:00 AM'' daily+  * ''4:00:00 AM'' daily
  
-  Wiki Update+  Social Update
  
-  "%SystemDrive%\www\scripts\wiki\Update.bat"+  "%SystemDrive%\www\scripts\social\Update.bat"
  
 ===== Back-up ===== ===== Back-up =====
  
-  * Weekly -> Recur every ''1'' weeks on ''Monday'' +  * Monthly -> All months -> Days: ''5'' 
-  * ''12:15:00 AM''+  * ''4:15:00 AM''
  
-  Wiki File Back-up+  Social Back-up
  
-  "%SystemDrive%\www\scripts\wiki\Back-up.bat"+  "%SystemDrive%\www\scripts\social\Back-up.bat"
  
 ===== Maintenance ===== ===== Maintenance =====
  
-  * Monthly -> All months -> Days: ''1'' +  * Monthly -> All months -> Days: ''5'' 
-  * ''12:30:00 AM''+  * ''4:30:00 AM''
  
-  Wiki Maintenance+  Social Maintenance
  
-  "%SystemDrive%\www\scripts\wiki\Maintenance.bat"+  "%SystemDrive%\www\scripts\social\Maintenance.bat"
  
 ====== Service ====== ====== Service ======
/var/www/wiki/data/attic/servers/windows/nginx/friendica.1763768651.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki