Saturday, April 26, 2014

crontab



crontab command example

View crontab entry for a specific user 

# crontab -u linuxcare -l

Schedule a cron job every 10 minutes.

*/10 * * * * /home/linuxcare/check-disk-space




Related Posts:

  • wget   wget command examples The quick and effective method to download software, music, video from internet is using wget command. $ wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.1.tar.gz … Read More
  • xargs   xargs command examples Copy all images to external hard-drive # ls *.jpg | xargs -n1 -i cp {} /external-hard-drive/directory Search all jpg images in the system and archive it. # find / -name *.jpg -type… Read More
  • whereis whereis command examples When you want to find out where a specific Unix command exists (for example, where does ls command exists?), you can execute the following command. $ whereis ls ls: /bin/ls /usr/share/… Read More
  • yum yum command examples To install apache using yum. $ yum install httpd To upgrade apache using yum. $ yum update httpd To uninstall/remove apache using yum. $ yum remove httpd … Read More
  • whatis    whatis command examples Whatis command displays a single line description about a command. $ whatis ls ls             (1)  - list directo… Read More

0 comments:

Post a Comment