New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

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: ****
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

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: ****
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Tested by:
Scott Runnels
David Zawdie

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

  • Added labels: ****
  • Removed labels: ****
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

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: ****
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

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: ****
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

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: ****
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

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

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: ****
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 join this conversation on GitHub. Already have an account? Sign in to comment