A cron job question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • deepak
    Members

    • May 2005
    • 17

    A cron job question

    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
  • Sarah
    Colonel

    • May 2005
    • 513

    #2
    Go to the link below to learn how to set up a cron job in cPanel:



    Sarah :)

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    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)


    Comment

    • deepak
      Members

      • May 2005
      • 17

      #3
      Originally posted by Sarah
      Go to the link below to learn how to set up a cron job in cPanel:



      Sarah :)
      Thanx for the reply, but it doesnt help.
      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

      Comment

      Working...
      X