The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cron Jobs

Discussion in 'General Discussion' started by wipl_piyush, Feb 7, 2004.

  1. wipl_piyush

    wipl_piyush Well-Known Member

    Joined:
    Oct 31, 2003
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NY
    Can some boby help me on writting a cron which can do the following job :

    1) copy the file from /demo/demo_jsp/test1.jsp and then mail it to my email address.

    2) shoot a mail when somebody try to access my Box using SSH

    3) runs the following command at appropiate time
    a) /usr/local/f-prot/tools/check-updates.pl
    b) /usr/bin/freshclam

    Please let me know the way out.
     
Loading...

Share This Page