-
Posts
5 -
Joined
-
Last visited
Posts posted by ChuckRoss
-
-
#!/bin/bash
filename = fileOne.txt
echo "FileStart" | sort | uniq -c > fileTwo.txt
ls /home/username/mail/namespace.heliohost.org/mail_name/new/ > fileOne.txt
cat $filename | while read LINE
do
for w in `cat cd /home/username/mail/obsidian.heliohost.org/mal_name/new/
$LINE`; do echo $w; done|sort|uniq -c >> fileTwo.txt
done
cat fileTwo.txt | mail you@mail.com
rm fileOne.txt
rm fileTwo.txt
rm /home/username/mail/namespace.heliohost.org/mail_name/new/*
exit
so if i can not get the hosting to allow this in bash how is it finished in window scripting or PowerShell?
the script only runs once per time of changing the mail name
are there any other environmental variables I must set before running the script?
the mail_name/new/ folder is populated daily with mail from the other aggregators and when I need to know what's important I'm not going to want to play the little cubby hole game.
thanks
-
a. Bent
b. Johnny
c. Obsidian
-
rosskill
Stevie
rosskill.heliohost.com
We're sorry, but we could not find that username in the database.
Cron Job On Eastern Time Zone
in Website Management and Coding
Posted
One might use a curl to gather a time server function and send the resultant to yourself or save the resultant to your space to view later matching the time placed vs the time suggested finding a difference and note the longitudinal difference between one's perceived location.