up vote -1 down vote favorite
share [g+] share [fb]

For example this a css file

http://sstatic.net/su/all.css

I want to send this file from this link as a email attachment to an email address in each hour or any specified time interval.

and to download on local PC in a specified folder.

link|improve this question

45% accept rate
@mehper: good find. @metal gear solid: please don't doublepost your questions. merging this into the duplicate. – quack quixote Jul 1 '10 at 4:16
@quack quixote - but both are same and one question – metal gear solid Jul 2 '10 at 18:55
those comments were originally posted to superuser.com/questions/103675/… -- that was the doublepost that got merged. the merge link is available in the revision history of this post: superuser.com/posts/98516/revisions – quack quixote Jul 2 '10 at 19:08
feedback

2 Answers

In Linux, you can start crontab editing with crontab -e and add a following line: 0 * * * * wget http://sstatic.net/su/all.css -O /backups/all.css && uuencode /backups/all.css all.css | sendmail your@email.com. This will update CSS and send emails every hour.

uudecode and sendmail are only for example, you may use other email client/server.

link|improve this answer
feedback

try using a 'web cron':

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.