Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


sending_email

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sending_email [2020/04/20 17:43]
juckins
sending_email [2020/04/20 17:43] (current)
juckins
Line 4: Line 4:
 #!/usr/bin/perl -w #!/usr/bin/perl -w
  
-$sysadmin = "juckins\@gmail.com";+$sysadmin = "user\@domain.com";
 $script_name = "test"; $script_name = "test";
-$archive_data_dir = "/var/www/html/amtrak_status/tat_archive_sunny_carto_raw/data_archive"; +$archive_data_dir = "/a/b/c"; 
 $latest_file_download = `ls -1 $archive_data_dir| tail -n 1`; $latest_file_download = `ls -1 $archive_data_dir| tail -n 1`;
  
sending_email.txt ยท Last modified: 2020/04/20 17:43 by juckins