date

Search

You can find the results of your search below.

Back-up Server Old Setup
17 Hits, Last modified:
e to set up was some of the worst I have found to date for Linux in the modern day. It is the only solu... vg0/xen-home/ # EXAMPLE.COM #backup_exec /bin/date "+ backup of example.com started at %c" #backup r... :/var/db/dump/ example.com/ #backup_exec /bin/date "+ backup of example.com ended at %c" # CVS.SOUR... vg0/xen-home/ # EXAMPLE.COM #backup_exec /bin/date "+ backup of example.com started at %c" #backup r
Rsync
14 Hits, Last modified:
is script echo "rsync wrapper script executed on `date`" >> $LOG echo "options passed to rsync: " $@ >> ... o large. # Capture scripts start time STARTTIME=`date +%s` # Location of the Log file LOG="/home/backu... t echo -e "\n\n+++++ rsnapshot script started on `date` +++++" >> $LOG echo "options passed to rsnapshot... scripts end time and calculate run time ENDTIME=`date +%s` INTERVAL=$((ENDTIME - STARTTIME)) RUNTIME="$
Commonly used commands and scripts
7 Hits, Last modified:
ipt every Monday at 00:15 15 0 1-7 * * [ $(date +%u) -eq 3 ] && /home/shared/Myscripts/server_bac... ery Wednesday at 00:15 15 0 * 3,6,9,12 5 [ $(date +%-d) -le 7 ] && /home/shared/Myscripts/server_ba... d statement to allow desired functionality. ''[ $(date +%-d) -le 7 ] && command'' means the command will only be run if the date day of month is less than or equal to 7. Similar
systemd Stuff
4 Hits, Last modified:
timers==== ''timedatectl'' to print current time date on cli\\ ''Date'' to print basic time date only on cli\\ ''timedatectl list-timezones'' to set available time zones\\ ... emd/man/systemd.time.html|systemd.time — Time and date specifications]] and [[https://www.freedesktop.or
Time Date Related Setup
4 Hits, Last modified:
{{tag>linux debian chrony ntp time date timedatectl timezone timezones}} =====Time Date Related Setup===== ====Setup NTP server==== The NTP se... tectl'' command to interogate and modify time and date information as required, mainly used to set local... 'timedatectl status'' to list current system time date information. *''timedatectl list-timezones'' to
BASH Customisation
3 Hits, Last modified:
s file:| <code bash> # This is my current / up-to-date list of bash aliases. # This is the exact same fi... ENT alias gcpush='echo "Usage: gcommit ../commits/date.txt" ; cd /home/$BA_USERNAME/docker ; bash script... I do not see much value in the prompt showing the date as this is shown on the main GUI screen. Referen
NUT (Network UPS Tools) Setup
3 Hits, Last modified:
e time ago, so this will not necessarily be up to date. It turns out the ''nutdrv_qx'' driver is usuall... str2=$(echo "$str1" | grep "ups.status:") echo $(date +"%Y-%m-%d %H:%M:%S") | awk '{printf "%s ", $0}'... g file not found $logfile" exit 1 fi timestamp=`date +%Y%m%d` newlogfile=$logfile.$timestamp cp $logfi
logrotate
1 Hits, Last modified:
g file not found $logfile" exit 1 fi timestamp=`date +%Y%m%d` newlogfile=$logfile.$timestamp cp $logfi
NFS
1 Hits, Last modified:
re. Sadly a number of resources I use seem out of date, not updated and/or possible subject to disappear
SSH Notes
1 Hits, Last modified:
echo -n " System information as of " /bin/date echo /usr/bin/landscape-sysinfo else
Webmin
1 Hits, Last modified:
8-04|How To Install Webmin on Ubuntu 18.04]]. To date I have only used Webmin on my main home server, n