SpamAssassin Cron Job

Discussion in 'Linux VPS/Dedicated - cPanel' started by eJM, Jan 6, 2008.

  1. eJM

    eJM enterpriseJM

    I would like to set up a cron job to update SpamAssassin every day. Can someone explain how to do that? I need the commands, etc.

    Thanks,

    Jim
     
  2. khiltd

    khiltd New Member

  3. eJM

    eJM enterpriseJM

    Thank you.

    Weeding through 553,000 tutorials to find one that would work on the server I use was not nearly as appealing as asking here - where everyone in this forum uses similar technology as I do. I figured if someone here had successfully set up a cron job to do just what I want to do, they might not mind sharing it.

    The link you provided offered this example that you said should do what I want:
    Code:
    sa-update && service spamassassin restart
    I set it up to run once a day. I guess I'll know if it fails or succeeds sometime around 3am tonight.

    Thanks for your help.

    Jim
     
  4. khiltd

    khiltd New Member

    There is virtually no variation in modern cron implementations across platforms. In this regard, everyone uses the same technology you do.
     
  5. eJM

    eJM enterpriseJM

    The cron job I set up processed this morning. The result was emailed to me:

    Any suggestions?

    Jim
     
  6. khiltd

    khiltd New Member

    You'll either need to adjust the permissions on that directory or run the job as root.
     
  7. eJM

    eJM enterpriseJM

    Sorry, that's over my head.
     
  8. eJM

    eJM enterpriseJM

    I have put in 2 separate support tickets relating to this. I continue to get errors that refer to permissions. The last error came last night:
    I'm new to all this. I don't know where or how to set permissions on a folder. I know how to do that via my FTP client (WS_FTP Pro), but I have been unable to set up access deeper than /home/ejm/

    Jim
     

Share This Page