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
- 396 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 81 Nebula Status and Incidents
- 5.1K Security
- 86 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 915 WirelessLAN
- 34 WLAN Ideas
- 5.9K Consumer Product
- 211 Service & License
- 337 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2K FAQ
- 912 Nebula FAQ
- 419 Security FAQ
- 237 Switch FAQ
- 207 WirelessLAN FAQ
- 46 Consumer Product FAQ
- 139 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 62 Security Highlight