Skip to content

Maurice’s Blog

Technical notes, and other ideas.

  • Home
  • git
  • SSL
  • Arduino
  • 3D Printing
  • Ubuntu 20.04
  • Trips
  • Shopping
  • Raspberry Pi
  • Akamai
  • Coding
  • Docker
  • Whitworth
  • Recipes
  • Bus / Bike
  • Ubuntu 24.04
  • PopOS 22.04
  • HAL
  • Teams

Tag: crontab

Posted on April 8, 2023

View Crontab Logs

Refer: https://askubuntu.com/questions/56683/where-is-the-cron-crontab-log

On a default installation the cron jobs get logged to

/var/log/syslog

You can see just cron jobs in that logfile by running

grep CRON /var/log/syslog

The above grep will return nohthing if your crontab has not been configured yet.

Posted on January 24, 2018January 24, 2018

Sort Crontab Script

Simple command to sort a crontab file, if you are using a file like crontab.txt

$ egrep -rv '^\s*[#;]|^\s*$' crontab.txt | perl -ane 'print join("\t", @F[0..5], join(" ", @F[6..$#F])),"\n" unless /MAILTO/' | sort -nt$'\t' -k2 -k1 | column -t -s$'\t' > crontab-out.txt

Details: sort-crontab-notes.txt

Posted on March 20, 2012

Hourly crontab

/etc/cron.hourly/jboss-config

See attached for script, as of 03/19/2012.  Sudo as root to see current version on your VM.

Archives

Categories

  • 3D Printing (7)
  • Android (9)
  • Apple (19)
  • AWS (7)
  • Cooking (19)
  • Docker (10)
  • Docker (7)
  • Eclipse (5)
  • ezAir (17)
  • Firefox (6)
  • General Info (28)
  • Go (7)
  • HAL (9)
  • Installation (14)
  • iOS (9)
  • IPod (5)
  • Java (9)
  • Java (8)
  • JavaScript (5)
  • JBoss (48)
  • Linux (116)
  • Linux Lite (6)
  • Macintosh (60)
  • Oracle (10)
  • Perl (10)
  • Programming (16)
  • Python (11)
  • RedHat VM (42)
  • Safenet (8)
  • Security (4)
  • SharePoint (11)
  • Subversion (18)
  • Tricks (48)
  • Troubleshooting (17)
  • Ubuntu (383)
  • Uncategorized (35)
  • Unix (20)
  • Utilities (161)
  • Video (8)
  • VirtualBox (16)
  • Web Development (155)
  • Website Support (76)
  • Windows (68)
  • Windows 2012 Server (4)
  • WordPress (8)

Tags

  • akamai (6)
  • audio (5)
  • backup (7)
  • Bash (10)
  • certs (6)
  • chrome (6)
  • compare (6)
  • debug (6)
  • docker (9)
  • Eclipse (8)
  • email (5)
  • encryption (6)
  • Firefox (11)
  • firewall (7)
  • git (11)
  • grep (10)
  • icon (5)
  • image (5)
  • java (7)
  • json (5)
  • macbook (5)
  • maven (7)
  • mongodb (5)
  • mp3 (6)
  • nginx (7)
  • parallels (6)
  • password (5)
  • PDF (8)
  • POLAR (7)
  • printer (5)
  • python (11)
  • rdp (5)
  • security (7)
  • snap (5)
  • spring (5)
  • sqldeveloper (6)
  • ssh (16)
  • sublime (11)
  • svn (7)
  • utility (10)
  • virtualbox (5)
  • visual studio code (9)
  • vpn (8)
  • wine (6)
  • youtube (5)
Proudly powered by WordPress