Hi
I want to setup a cron job to delete all files in the tmp dir. Should the path be /tmp/* or is it /home/username/tmp/* as given in some sites as an example.
Thanks in advance
Deepak
Hi
I want to setup a cron job to delete all files in the tmp dir. Should the path be /tmp/* or is it /home/username/tmp/* as given in some sites as an example.
Thanks in advance
Deepak
Go to the link below to learn how to set up a cron job in cPanel:
http://www.cpanel.net/docs/cpanel/
Sarah :)
VodaHost
Your Website People!
1-302-283-3777 North America / International
07031847328 / United Kingdom
------------------------
Top 3 Best Sellers
Web Hosting - Unlimited disk space & bandwidth.
Reseller Hosting - Start your own web hosting business.
Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)
Thanx for the reply, but it doesnt help.Originally Posted by Sarah
I know how to setup a cron job, but just wanted to know the path for the tmp folder of my account.
The command would be
rm /home/myusername/tmp/*
or
rm /tmp/*
Anyway, I think it might be the first one, I have set it up. If it works, I will post it here as it might help others.
Deepak
There are currently 1 users browsing this thread. (0 members and 1 guests)