Results 1 to 4 of 4
-
07-05-2013, 04:45 PM #1New Member
- Join Date
- Jul 2013
- Location
- US
- Posts
- 4
Urgent need a help about Cron Job in cpanel?
Hello Friends,
I need some help about cron job.
I have hostgator hosting and i make a torrent site.
i need to remove all temp files daily.
Path: "public_html/website.com/core/tmp"
How can i set a corn job, so it remove daily all temp files automatically in /temp folder.?
I trying to "corn jobs" tool in my cpanel but i don't know which Command should i need to use in it.
Please help me.
Thank you very much.
-
07-05-2013, 04:51 PM #2Web Hosting Master
- Join Date
- Mar 2009
- Location
- CA
- Posts
- 9,350
〓〓 RackNerd LLC - Introducing Infrastructure Stability
〓〓 Dedicated Servers, Private Cloud, DRaaS, Colocation, VPS, DDoS Mitigation, Shared & Reseller Hosting
〓〓 www.linkedin.com/in/dustincisneros/
〓〓 My fancy email dustin@racknerd.com
-
07-09-2013, 08:30 PM #3Web Hosting Master
- Join Date
- Jul 2005
- Location
- New Jersey, US
- Posts
- 1,597
The following should work:
0 0 * * * rm -f /path/to/folder/tmp/*
(replace with the actual folder)
Be careful, this removes ALL files in the folder you specify.PlatinumServerManagement (also known as PSM)
The OLDEST and LARGEST and MOST TRUSTED server management provider in the USA, with 15+ employees and growing!
Providing quality support for OVER 21 years! Currently supporting over 3,000+ servers monthly!
www.PlatinumServerManagement.com Proud member of the NJ BBB & Chamber of Commerce & Authorized cPanel Partner.
-
07-10-2013, 06:31 PM #4New Member
- Join Date
- Jul 2013
- Location
- US
- Posts
- 4
Thank you
Thank you mate...
Similar Threads
-
cron job help in cpanel
By alex05 in forum Hosting Software and Control PanelsReplies: 1Last Post: 09-19-2008, 04:29 AM -
cPanel standard Cron Job
By stuffradio in forum Hosting Security and TechnologyReplies: 4Last Post: 03-02-2007, 12:25 AM -
cPanel and Cron Job help
By Lang14 in forum Hosting Software and Control PanelsReplies: 2Last Post: 01-08-2006, 10:18 PM -
Cpanel Simpre Cron job
By webstyler in forum Hosting Security and TechnologyReplies: 2Last Post: 02-14-2004, 06:45 AM -
cron job in cpanel...need help
By fjiwa in forum Programming DiscussionReplies: 3Last Post: 03-23-2003, 10:40 AM