Firefox 16, a treat for developers http://t.co/cnd27CzT
Cron Job files on CentOS and Fedora
CentOS and Fedora Linux use a set of directories in /etc to control when jobs run.
These directories take the following form:
/etc/cron.hourly – jobs that run once per hour
/etc/cron.daily – jobs that run once per day
/etc/cron.weekly – jobs that run one per week
/etc/cron.monthly – jobs that run once per month
The jobs that you start something like
/sbin/yum -y update
or
/sbin/reboot
or running a script some where in your machine
/opt/scripts/script1.sh &
or syncrionize with remote host with Rsync commands
The other way is to add these jobs via Crontab commands :
crontab -e Edit your crontab file, or create one if it doesn’t already exist.
crontab -l Display your crontab file.
crontab -r Remove your crontab file.
crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)
and add the line like
* * * * * command to be executed
- – - – -
| | | | |
| | | | +—– day of week (0 – 6) (Sunday=0)
| | | +——- month (1 – 12)
| | +——— day of month (1 – 31)
| +———– hour (0 – 23)
+————- min (0 – 59)
example :
00 06 * * * rm /home/pirat9/tmp/*
Thats mean every day at 6 in the morning remove the tmp files in my directory
If you need any other help, please post it on the Forums
{loadposition user9}
Related Articles By Tags:
{loadposition user1}
Like us on Facebook
This week Top Posts 
Top Things to do After Installing Ubuntu 13.04 ‘Raring Ringtail’ : Ubuntu 13.04 Raring Ringtail final is almost out. The final release it scheduled for release on Apri...0 comment(s) |
Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comment(s) |
Howto: Upgrade to Ubuntu 13.04 Raring Ringtail from 12.04, 12,10 | Desktop & Server : Updated 05-04-2013: Ubuntu 13.04 Raring Ringtail will be released Soon, If you have ubuntu 12,10, 12...0 comment(s) |
Unix/Linux File Recognition. Did You Know? : Did you know that Unix and Linux has no concept of a file extension? What is a file name extension?
...0 comment(s) |
Configure conky-Lua in Ubuntu (12.10 & 13.04 Raring Ringtail), Fedora, debian and LinuxMint | Howto Conky : Updated 05-04-2013: Conky is a free, light-weight system monitor for X, that displays any informatio...0 comment(s) |
Resolve libudev0 Issue When Installing Google Chrome in Ubuntu 13.04 : When installing chrome in Ubuntu 13.04, I got the following error:
Google Chrome can not ...0 comment(s) |
Recent Posts
- Unix/Linux File Recognition. Did You Know?
- Migrate from MySQL to MariaDB in FreeBSD
- Connect Your Android Galaxy Tablet to Ubuntu via USB
- ElementaryOS Beta 1 and 2 Comparison and Review
- Introduction to the Linux Command Line
- A Secure Password
- Linux Kernel 3.10. It’s BIG!
- Monitoring Users Activity Using psacct or acct Tools in Linux
- Run Your Own Social Network Using elgg on RHEL / CentOS and Scientific Linux
- Getting Debian 7.0 ‘Wheezy’ Up and Running
Recent Comments



















Lolman
| #
in cmd
Oliver
| #
Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?
Brandon Hawkins
| #
thanks
Nova
| #
I wonder if there is a way to create your own themes.
Red Adaya
| #
Thank you! This worked for me!!!