Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

I need some help with a script....

Discussion in 'General Discussion' started by I-Web, Sep 29, 2003.

  1. I-Web

    I-Web Well-Known Member

    Jul 7, 2003
    Likes Received:
    Trophy Points:
    HI all,

    I currently run a server that is also used as an e-mail 2 fax gateway.

    What i need is a script that i can put into a cron job to do the following on the last day of every month,

    all of the logs are labelled by the e-mail senders address... i.e.

    i need to create a script that wil create a directory with the name of the month inside an oldlogs directory, then move all of the logs into the directory, and then mail me to tell me its done.

    Any ideas??? ive had a look round, and that but cant work it out..... Support Ticket Number:
  2. mjm

    mjm BANNED

    Aug 1, 2003
    Likes Received:
    Trophy Points:
    read up on shell scripting... this should be rather easy... Support Ticket Number:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice