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
linux:cronjobs [2018/12/13 15:36] tmadelinux:cronjobs [2023/11/15 11:28] (current) – [AT] tmade
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>
Line 95: Line 95:
 Schedule: Schedule:
   at hh:mm   at hh:mm
-  finger >> /var/log/messages //exit with ctrl+D+  finger >> /var/log/messages                       #exit with ctrl+D
  
   at noon tomorrow   at noon tomorrow
-  finger >> /var/log/messages //exit with ctrl+D+  finger >> /var/log/messages                       #exit with ctrl+D 
 + 
 +  echo "myscript.sh" | at 05:30 111623                        #runs "myscript.sh" at 5:30 on 16th Novemver 2023
  
  
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