simba/scripts/da

17 lines
316 B
Plaintext
Raw Normal View History

2006-10-02 12:56:36 +02:00
#!/usr/bin/perl -T
use warnings;
use strict;
2007-11-15 21:18:15 +01:00
use POSIX qw(strftime);
2006-11-20 12:25:55 +01:00
use lib 'blib/lib';
2007-11-15 21:18:15 +01:00
use Simba::DA;
2006-10-02 12:56:36 +02:00
2007-11-15 21:18:15 +01:00
my $now = strftime('%Y-%m-%dT%H:%M:%S', localtime());
2018-03-05 20:32:59 +01:00
mkdir('/var/log/simba');
2007-11-15 21:18:15 +01:00
open(my $log, '>>', '/var/log/simba/da.log.' . $now);
$log->autoflush(1);
my $da = Simba::DA->new({fh_log => $log});
2006-10-02 12:56:36 +02:00
$da->run();