help me for a script, please!
emau74
Posts: 53 Ally Member
who helps me make a script that runs every week and deletes the files of a certain folder?
0
All Replies
-
Which model are you using?0
-
NAS326, tanks!0
-
The script can be as easy as#!/bin/shrm /path/to/directory/*Make it executable (chmod a+x /path/to/script), install Tweaks, and add a cron line34 12 * * 0 /path/to/scriptif you want to execute it each sunday at 12:340
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight