Thanks,#!/usr/bin/perl -w use strict; my $date = system("date +%x_%T"); open (FILE, ">>output.txt") or die "Can't open output.txt\n"; print FILE "$date Script worked correctly\n"; close (FILE);
In reply to Getting The Date Command to Redirect to File by dru145
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |