Skip to main content
Solved

Create Package Including Custom Settings


Forum|alt.badge.img+3

We employ Symantec Endpoint Protection v12 and I have created a package using Composer which includes current updates. One additional feature we'd like to include are custom settings for the Symantec Scheduler for periodic product updates and file system scans. Can that be done?

Best answer by talkingmoose

You can schedule via command line or script using Symantec's symsched command.

http://www.symantec.com/business/support/index?page=content&id=TECH105502 or run symsched -h in the Terminal.

View original
Did this topic help you find an answer to your question?

2 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • 1900 replies
  • Answer
  • August 7, 2012

You can schedule via command line or script using Symantec's symsched command.

http://www.symantec.com/business/support/index?page=content&id=TECH105502 or run symsched -h in the Terminal.


Forum|alt.badge.img+18
  • Valued Contributor
  • 1007 replies
  • August 7, 2012

we did something like this, it was for v11, we are on SEP now so not sure if this translates to twelve, this creates a job to DL the updates and runs scans weekly i think. and does it randomly so every person does not download at the same time of day.

#!/usr/bin/perl -w

use strict;
use Getopt::Std;
use vars qw($opt_h $opt_t $opt_v);

(my $progname =$0) =~ s#.*/##;
$ENV{PATH} = '/bin:/usr/bin';
umask 0022;

my $schedtool = "/Library/Application Support/Symantec/Scheduler/SymSecondaryLaunch.app/Contents/symsched";
my $scanscheduled = 0;
my $updatescheduled = 0;
my $username;

my $hr = (int rand 10) + 7;
my $min = int rand 59;
my $time = sprintf("%2d:%2d", $hr, $min);

$username = $ENV{USER};

open SS, ""$schedtool" -u $username -l -U |" or die "$progname: $schedtool: $! ";
while (<SS>) { $updatescheduled = 1 if (/^LiveUpdate/); $scanscheduled = 1 if (/^VirusScan/);
}

unless ($updatescheduled) { print "Update Schedule needs to be created "; system("logger "$progname: \\"$schedtool\\" -u $username LiveUpdate \\"Daily Update\\" 1 1 -daily $time \\"All Products\\"""); system(""$schedtool" -u $username LiveUpdate "Daily Update" 1 1 -daily $time "All Products"");
}

$hr = (int rand 10) + 7;
$min = int rand 59;
my $day = int rand 28;
$time = sprintf("%2d:%2d", $hr, $min);
unless ($scanscheduled) { print "Scan Schedule needs to be created "; system("logger "$progname: \\"$schedtool\\" -u $username VirusScan \\"Monthly Scan\\" 1 1 Monthly $day $time \\"/\\" \\"/UserData\\"""); system(""$schedtool" -u $username VirusScan "Monthly Scan" 1 1 Monthly $day $time "/" "/UserData"");
}
exit 0;


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings