How to setup Cron Job

How to setup Cron Job

A sample program to setup a cron job

This cron is supposed to help spam assasin learn from the spam in your junk folder and trigger every 12 hours.

Open your Hosting Control Panel (cPanel) and scroll to the bottom of the page under ADVANCED to launch CRON 

Paste this path to this line….

/usr/local/cpanel/3rdparty/bin/sa-learn -p ~/.spamassassin/user_prefs --spam ~/mail/*/*/.Junk/{cur,new}

With the following timing: 0 0,12 * * * 

Then "Add New CRON Job" and your done.
Set up CRON

    • Related Articles

    • Setup outgoing mail authentication on an Apple Mac

      Setup outgoing mail authentication in Apple's Mail app Open Apple's Mail application, go to the Mail menu and choose Preferences. From the Preferences pane, select Accounts. Next, select the account you want to modify by clicking it from the left ...
    • How do I setup my Email on my iPhone or other Smartphone?

      If you need to setup your email on your smartphone or iPhone then follow the below settings: Go to SETTINGS then PASSWORDS &Â ACCOUNTS (on an iPhone). Click ADD ACCOUNT then OTHER. Click ADD MAIL ACCOUNT and add your details as per below images. For ...
    • Howto Install FLv2Tool

      yum install ruby* wget http://oratoronline.com/how2/video_share_modules/source_directory/flvtool2/flvtool2_1.0.5_rc6.tgz tar -xvf flvtool2_1.0.5_rc6.tgz cd flvtool2_1.0.5_rc6 ruby setup.rb config ruby setup.rb setup sudo ruby setup.rb install Verify: ...
    • How do I manage my VPS?

      VPS hosting accounts come with three control panels. Virtuozzo Power Panel (VZPP), WebHost Manager (WHM), and cPanel. VZPP is the VPS server administration control panel. It allows you to start/stop your VPS. Monitor your VPS resource utilization, ...
    • How to install SIM

      What is SIM SIM is a system and services monitor for ‘SysVinit’ systems. It is designed to be intuitive and modular in nature, and to provide a clean and informative status system. It does this by consistently verifying that services are online, load ...