help me for a script, please!
Options
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
- 393 Beta Program
- 2.1K Nebula
- 116 Nebula Ideas
- 78 Nebula Status and Incidents
- 5.1K Security
- 51 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 70 Switch Ideas
- 906 WirelessLAN
- 34 WLAN Ideas
- 5.9K Consumer Product
- 210 Service & License
- 332 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.9K FAQ
- 880 Nebula FAQ
- 415 Security FAQ
- 220 Switch FAQ
- 195 WirelessLAN FAQ
- 46 Consumer Product FAQ
- 137 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 63 Security Highlight