The Sophos Community will be unavailable from 13:00 to 18:00 UTC this Saturday, October 1st for upgrades. Stay tuned to our Twitter account @SophosSupport for updates.
Cron jobs can be used for setting up scheduled scans in UNIX-type operating systems, e.g. UNIX, Linux, FreeBSD and Darwin (Mac OS X).
Note: The syntax may differ, depending on which version of cron is present on your computer.
crontab -u root -e
0 10 * * * /path/script.sh
0 10 1-31 1-12 0-7 /path/script.sh
/crontab.zUcAAFwPVp: 1 lines, 24 characters crontab: installing new crontab
The crontab has now been set up. Cron will automatically send an email to root to confirm that the scan has run.
For more information on cron and crontab, read the relevant manual pages. For example, type:
to see the crontab manpage.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.