<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Can I setup a program in OSX to only run at login on a specific day of the week?</title>
	<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week/</link>
	<description>Comments on Ask MetaFilter post Can I setup a program in OSX to only run at login on a specific day of the week?</description>
	<pubDate>Sat, 29 Apr 2006 15:01:40 -0800</pubDate>
	<lastBuildDate>Sat, 29 Apr 2006 15:01:40 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Can I setup a program in OSX to only run at login on a specific day of the week?</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week</link>	
		<description>Can I setup a program in OSX to only run at login on a specific day of the week? &lt;br /&gt;&lt;br /&gt; I want to backup my hard drive one time a week.  I like iBackup, its simple and free.  I can schedule it to do the backup, lets say, on Wednesday at noon.  No problem.  But to make sure that happens, I have to set it as a program that will run upon login.  I wouldn&apos;t mind this so much but 1) I like to leave as much memory free as I can, and this take memory up the other 6 days a week, and 2) When open, iBackup sits in the dock.  &lt;br&gt;
&lt;br&gt;
I guess an alternative would be how to hide the dock icon full time.  But i&apos;d rather just have it run from startup on the day I specify.&lt;br&gt;
&lt;br&gt;
Thanks</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.37253</guid>
		<pubDate>Sat, 29 Apr 2006 14:35:44 -0800</pubDate>
		<dc:creator>Chuck Cheeze</dc:creator>
		
			<category>osx</category>
		
			<category>mac</category>
		
			<category>apple</category>
		
			<category>iBackup</category>
		
			<category>startup</category>
		
			<category>dock</category>
		
			<category>hide</category>
		
	</item> <item>
		<title>By: five fresh fish</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577118</link>	
		<description>You&apos;re looking for crontab &lt;a href=&quot;http://www.macosxhints.com/article.php?story=2001020700163714&quot;&gt;hints&lt;/a&gt;, then.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.abstracture.de/projects-en/cronnix&quot;&gt;Cronnix&lt;/a&gt; is one GUI interface that&apos;s widely suggested.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577118</guid>
		<pubDate>Sat, 29 Apr 2006 15:01:40 -0800</pubDate>
		<dc:creator>five fresh fish</dc:creator>
	</item><item>
		<title>By: patr1ck</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577119</link>	
		<description>Possibily easier than learning crontab or launchd: You could create a simple, runnable applescript that checks the day of the week, and if it is wednesday it launches iBackup. Put said applescript into the login items in your Account preferences, and v&#243;ila.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577119</guid>
		<pubDate>Sat, 29 Apr 2006 15:03:52 -0800</pubDate>
		<dc:creator>patr1ck</dc:creator>
	</item><item>
		<title>By: Yeomans</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577144</link>	
		<description>I vote for &lt;a href=&quot;http://www.versiontracker.com/dyn/moreinfo/macosx/28365&quot;&gt;Lingon&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577144</guid>
		<pubDate>Sat, 29 Apr 2006 16:09:21 -0800</pubDate>
		<dc:creator>Yeomans</dc:creator>
	</item><item>
		<title>By: Steven C. Den Beste</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577157</link>	
		<description>Cron can&apos;t be used for this because cron will try to run the task even when the user isn&apos;t logged in.&lt;br&gt;
&lt;br&gt;
Worse, if the machine is off at the designated time, cron won&apos;t run it later to &quot;catch up&quot;.&lt;br&gt;
&lt;br&gt;
I agree with the idea of using an encapsulating script of some kind. If this was UNIX, my approach would be to use a script which checked the output of the &quot;date&quot; command to see if the string for a particular day of the week (e.g. &quot;Wednesday&quot;) was present in it, and then invoke the appropriate task if it was.&lt;br&gt;
&lt;br&gt;
It would have to be made a bit more smart than that, however, so that it only ran the first time you logged in on a particular Wednesday, rather than on every login.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577157</guid>
		<pubDate>Sat, 29 Apr 2006 16:25:49 -0800</pubDate>
		<dc:creator>Steven C. Den Beste</dc:creator>
	</item><item>
		<title>By: Mike C.</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577202</link>	
		<description>Another vote for &lt;a href=&quot;http://lingon.sourceforge.net/&quot;&gt;Lingon&lt;/a&gt;.  Use the &quot;Assistant&quot; like so:&lt;br&gt;
&lt;ol&gt;&lt;li&gt;Select &lt;b&gt;Run job at startup&lt;/b&gt;, then &lt;b&gt;Next&lt;/b&gt;.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Type in a name for this job, something like &lt;i&gt;computerName.ChuckCheeze.iBackup&lt;/i&gt;, then &lt;b&gt;Next&lt;/b&gt;.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Type in the full path to iBackup &lt;small&gt;(this could be tricky -- you&apos;ll need to find the executable within iBackup.app)&lt;/small&gt; then &lt;b&gt;Create.&lt;/b&gt;&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Now, edit the job you just created.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Choose &lt;b&gt;Miscellaneous&lt;/b&gt; and put 0 in for &lt;i&gt;Weekday&lt;/i&gt;, then &lt;b&gt;Save &amp;amp; Load&lt;/b&gt;.&lt;/li&gt;&lt;br&gt;
&lt;/ol&gt;That ought to do it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577202</guid>
		<pubDate>Sat, 29 Apr 2006 18:14:16 -0800</pubDate>
		<dc:creator>Mike C.</dc:creator>
	</item><item>
		<title>By: Mike C.</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577205</link>	
		<description>Oops, meant to write that what I outlined should, theoretically, run iBackup when you login on Sunday.  Of course, you can choose to have it run on whatever schedule you want, regardless of login, by using the other parts of Lingon&apos;s Assistant.  Have fun, and good luck.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577205</guid>
		<pubDate>Sat, 29 Apr 2006 18:16:51 -0800</pubDate>
		<dc:creator>Mike C.</dc:creator>
	</item><item>
		<title>By: kcm</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577219</link>	
		<description>if [ `date +%w` -eq 4 ]; then # do stuff; fi&lt;br&gt;
&lt;br&gt;
/* adjust for your shell and day and &amp;amp;c */&lt;br&gt;
&lt;br&gt;
copying and pasting code may injure your data or person.  you take all responsibility.  all rights reserved.  do not taunt happy fun ball.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577219</guid>
		<pubDate>Sat, 29 Apr 2006 19:01:24 -0800</pubDate>
		<dc:creator>kcm</dc:creator>
	</item><item>
		<title>By: mikel</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577238</link>	
		<description>I think there&apos;s a far easier way to go about this: &lt;a href=&quot;http://www.macosxhints.com/article.php?story=20050504105901868&quot;&gt;Schedule Automator Workflows via iCal&lt;/a&gt; (from MacOSHints).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577238</guid>
		<pubDate>Sat, 29 Apr 2006 20:18:42 -0800</pubDate>
		<dc:creator>mikel</dc:creator>
	</item><item>
		<title>By: kindall</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577263</link>	
		<description>If you want to do this with an AppleScript, here&apos;s how:&lt;br&gt;
&lt;br&gt;
property lastDate : &quot;&quot;&lt;br&gt;
&lt;br&gt;
set currentDate to (current date)&lt;br&gt;
set {dateString, dayOfWeek} to {short date string of currentDate, weekday of currentDate}&lt;br&gt;
if dateString is not lastDate and dayOfWeek is Wednesday then&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;set lastDate to dateString&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;do shell script &quot;open &apos;/Applications/iBackup.app&apos;&quot;&lt;br&gt;
end if&lt;br&gt;
&lt;br&gt;
(This runs it on the first login on Wednesday... if you want it to run every time you log in on Wedensday, just take out the line that says &quot;set lastDate to dateString&quot;)&lt;br&gt;
&lt;br&gt;
Save it as an application and add it to your login items. There&apos;s a little utility called Drop Script Backgrounder (Google for it) that will cause the saved script applet from showing up in your dock.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577263</guid>
		<pubDate>Sat, 29 Apr 2006 21:33:12 -0800</pubDate>
		<dc:creator>kindall</dc:creator>
	</item><item>
		<title>By: five fresh fish</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577368</link>	
		<description>The &quot;login items&quot; idea is great... unless you&apos;re the sole user of the machine and never log out (because with OS X, you basically never have to exit the OS).  It&apos;s usually a month between reboots on my iBook G4.&lt;br&gt;
&lt;br&gt;
Though I&apos;m re-reading the OP and noting that he is talking about doing it at login, so it probably works out okay for him.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577368</guid>
		<pubDate>Sun, 30 Apr 2006 09:37:33 -0800</pubDate>
		<dc:creator>five fresh fish</dc:creator>
	</item><item>
		<title>By: Chuck Cheeze</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#577388</link>	
		<description>WOW lots of great suggestions, thanks.  I&apos;ll try some of them out and see what works for me.  FYI I want the ability to run it ata convenient time of day, not just at login.  Sorry if my question was misleading.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-577388</guid>
		<pubDate>Sun, 30 Apr 2006 10:16:26 -0800</pubDate>
		<dc:creator>Chuck Cheeze</dc:creator>
	</item><item>
		<title>By: saketini99</title>
		<link>http://ask.metafilter.com/37253/Can-I-setup-a-program-in-OSX-to-only-run-at-login-on-a-specific-day-of-the-week#579676</link>	
		<description>uhm, unless I&apos;m missing something...&lt;br&gt;
&lt;br&gt;
do you mean &quot;Backup&quot;, not &quot;iBackup&quot;? &quot;Backup&quot; is &quot;free&quot; with a .mac account and allows you to schedule the date and time without having to be a login item. you just have to manually quit it afterwards.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.37253-579676</guid>
		<pubDate>Tue, 02 May 2006 17:03:12 -0800</pubDate>
		<dc:creator>saketini99</dc:creator>
	</item>
	</channel>
</rss>
