# Urls with script/runner

**URL:** <https://www.ruby-forum.com/t/urls-with-script-runner/68640>\
**Category:** Rails\
**Created:** [September 14, 2006, 3:28am UTC](https://www.ruby-forum.com/t/urls-with-script-runner/68640 "2006-09-14T03:28:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [September 14, 2006, 3:28am UTC](https://www.ruby-forum.com/t/urls-with-script-runner/68640/1 "2006-09-14T03:28:57Z")

</div>

i’ve got a rails app on my mac. i just figured out how to use launchd  
to run recurring events on my rails apps via script/runner.

it basically checks the database for any tasks that are past due and  
puts a list of them together in an email, with links to each one on the  
site. being new to rails, i didn’t realize that i couldn’t use the  
url\_for method in my model. is there an easy way to generate urls in my  
emails this way?
