Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

/var/www/squert/.scripts/Ip2c/ip2c.tcl needs to run once a week #251

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 7 comments
Closed

Comments

@GoogleCodeExporter
Copy link

From IRC conversation with paulh

Original issue reported on code.google.com by doug.bu...@gmail.com on 4 Apr 2012 at 1:46

@GoogleCodeExporter
Copy link
Author

Added the following to /etc/cron.d/squert-ip2c:


00 6 * * 0 root [ -d /var/lib/mysql/securityonion_db/ ] && (cd 
/var/www/squert/.scripts/Ip2c/; rm -f *.md5; ./ip2c.tcl > /dev/null 2>&1)

Original comment by doug.bu...@gmail.com on 24 Apr 2012 at 8:53

  • Changed state: Started
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Packaged:
/usr/bin/fpm -s dir -t deb -n securityonion-squert-cron -v 20120425 
/etc/cron.d/squert-ip2c

Original comment by doug.bu...@gmail.com on 24 Apr 2012 at 8:54

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Tested by:
Scott Runnels
David Zawdie

Original comment by doug.bu...@gmail.com on 25 Apr 2012 at 10:05

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Published:
http://securityonion.blogspot.com/2012/04/security-onion-20120425-now-available.
html

Original comment by doug.bu...@gmail.com on 25 Apr 2012 at 10:05

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Strictly speaking, it should rather be:

00 6 * * 0 root [ -d /var/lib/mysql/securityonion_db/ ] && (cd 
/var/www/squert/.scripts/Ip2c/ && rm -f -- *.md5 && ./ip2c.tcl > /dev/null 2>&1)

To avoid removing md5 files or running the wrong ip2c.tcl command if "cd" fails.

Original comment by Stephane...@gmail.com on 28 May 2012 at 10:47

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Hi Stephane,

Nice catch!

However, this Issue is closed. If you'd like for this bug to be fixed, please 
start a new Issue. 

Thanks!

Original comment by doug.bu...@gmail.com on 28 May 2012 at 11:13

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Created Issue 274 for Stephane's enhancement.

Original comment by doug.bu...@gmail.com on 1 Jun 2012 at 6:42

  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant