• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue 'run-parts: /etc/cron.daily/60sa-update' in my mailbox today?

jmar83

Regular Pleskian
Why?

Screenshot here:


Unbenannt.jpg


What is "sa" from "60sa-update" ?

Thank you very much for your feedback.
 
Hi

Thank you for your feedback.

1.) I don't have that mail daily

2.) It has an exit code that not equals 0 which implies an error or at least a warning (which must not imply a problem in every case)

3.) The file /var/log/sa-update.log seems to be huge, but on the last line i see:

Unbenannt0.jpg
 
You can disable the sa-update execution by moving 60sa-update file from /etc/cron.daily to a different location:

# mv /etc/cron.daily/60sa-update /root
 
This is an OS notification. If you don't want it either move the /etc/cron.daily/60sa-update as Igor said or add an empty MAILTO="" in the script (this can be overwritten by an upcoming Plesk update):

Code:
#!/bin/bash
MAILTO=""
### Copyright 1999-2022. Plesk International GmbH. All rights reserved.

sa_update()
{
 
@maartenv : Thank you very much.

@IgorG : Regarding your link to the other thread with PERL source code: What do you think about that hotfix solution?

Perl:
sub read_content {
  my ($file_name, $binary_mode) = @_;
  my $content;

  my $file = IO::File->new;
 
 
  # Custom {
  if (-e $file_name) {
    #print "File $file_name exists!\n";
    
    
    # Original source code {
    $file->open($file_name, '<') or die "Cannot open file $file_name: $!";
  if ($binary_mode) {
    binmode $file;
  }
 
  my($number_of_bytes,$buffer);
  $content = '';
  while (($number_of_bytes = $file->read($buffer, 16384)) > 0) {
    $content .= $buffer;
  }
  defined $number_of_bytes or die "Error reading from file $file_name: $!";
  $file->close or die "Error closing $file_name: $!";
    # } Original source code
    
    
    
  }
  else {     
    #print "File $file_name does not exist!\n";
    my $logfile = '/var/log/sa-update-userlog.log';   
    my $str = "File $file_name does not exist!";       
    open(FH, '>', $logfile);
    print FH $str;
    close(FH);
  }
  # } Custom
 

  return $content;
}


if (-e $file_name) ... else ... is MY code and the code in "if" condition is still the same as original :)
 
Back
Top