How to use crontab for scripts periodically running in background

November 6, 2015 at 4:44 am

From definition Cron is a time-based job scheduler in Unix-like computer operating systems.
Using cron you can schedule jobs (commands or scripts) to run periodically at fixed times, dates, or intervals.

Crontab is file on your server with cron jobs to run periodically.
By default cron searches at /var/spool/cron/ directory for crontab files.
This is default directory for CentOS/Red Hat/RHEL/Fedora/Scientific Linux.
For Debian / Ubuntu Linux this can be /var/spool/cron/crontabs/
For FreeBSD/OpenBSD/NetBSD – /var/cron/tabs/

Copyright © 2008 NuevoLab.com. All rights reserved. License Agreement