Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:cronjobs [2017/12/09 01:19] – external edit 127.0.0.1linux:cronjobs [2019/10/01 09:38] – [Cronjobs] tmade
Line 2: Line 2:
  
 [[http://wiki.tmade.de|Home Wiki]] [[http://wiki.tmade.de|Home Wiki]]
- 
-This page was last modified at: ~~LASTMOD~~ 
  
 ===== Cronjobs ===== ===== Cronjobs =====
Line 12: Line 10:
 Configuration (SLES): Configuration (SLES):
   /etc/sysconfig/cron   /etc/sysconfig/cron
 +  
 +Crontab files (created via "crontab -e") are located in:
  
 +  /var/spool/cron/tabs
      
 Example: Example:
Line 26: Line 26:
   */1 * * * * root /bin/logger "testmessage"   */1 * * * * root /bin/logger "testmessage"
   */1 * * * * root /usr/sbin/ntpdate -s time.server.com && /sbin/hwclock --systohc   */1 * * * * root /usr/sbin/ntpdate -s time.server.com && /sbin/hwclock --systohc
-  */1 * * * * root echo "hello world"+  */1 * * * * root /usr/bin/echo "hello world"
 </code> </code>
 <code> <code>
linux/cronjobs.txt · Last modified: 2023/11/15 11:28 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki