Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
    
@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

2 Answers 2

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.

share|improve this answer

try using a 'web cron':

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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