Unstoppable Domains

Would this cron job work?

Spaceship Spaceship
Watch

dev99

Established Member
Impact
7
Hi

I need a cron job to delete files in a folder every 2 or 3 days.

I will set it up from directadmin.

I know how to do the date settings, but would this command work.

cd /(file name) rm fr *
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I'm not sure about directadmin but you can try
rm -rf /path/to/your/folder
 
0
•••
You may also need to use the tilde character to refer to your home directory. Something like

rm -rf ~/path/to/*
 
0
•••
thanks, i will try it.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back