„README.md“ ändern
This commit is contained in:
		
							parent
							
								
									624b4cdf29
								
							
						
					
					
						commit
						9b24697ea9
					
				
							
								
								
									
										11
									
								
								README.md
								
								
								
								
							
							
						
						
									
										11
									
								
								README.md
								
								
								
								
							| 
						 | 
				
			
			@ -42,18 +42,7 @@ Häufig verwendete Befehle: https://linuxconcept.com/rsync-example-for-system-ad
 | 
			
		|||
Alle Optionen: https://wiki.ubuntuusers.de/rsync/
 | 
			
		||||
 | 
			
		||||
## Cronjob
 | 
			
		||||
### QNAP
 | 
			
		||||
**Do NOT edit crontab the usual way!** `crontab -e`
 | 
			
		||||
 | 
			
		||||
However, due to the way the QNAP firmware updates crontab, it will be overwritten on the next reboot. Obviously, you want your automation to survive reboots, so edit the crontab file directly with your text editor:
 | 
			
		||||
```
 | 
			
		||||
vim /etc/config/crontab
 | 
			
		||||
```
 | 
			
		||||
When you're done, reload the crontab file and restart the cron daemon:
 | 
			
		||||
```
 | 
			
		||||
crontab /etc/config/crontab && /etc/init.d/crond.sh restart
 | 
			
		||||
```
 | 
			
		||||
https://wiki.qnap.com/wiki/Add_items_to_crontab
 | 
			
		||||
## Gute Quellen
 | 
			
		||||
* Bash-Skripte: https://wiki.ubuntuusers.de/Shell/Bash-Skripting-Guide_für_Anfänger/
 | 
			
		||||
* Cronjobs: https://www.stetic.com/developer/cronjob-linux-tutorial-und-crontab-syntax.html
 | 
			
		||||
		Loading…
	
		Reference in New Issue