Jump to content

Dynamic IP Address


Recommended Posts

I thought of a good idea for a workflow, but admittedly I'm quite new when it comes to this, and am running in to a lot of brick walls.

 

My IP at home is dynamic, and it changes on occasion.  I often need to remote in to my computer at home for files, etc.  When the IP changes, this obviously causes a problem.

 

I think a great workflow would be one that checks for the IP every X (to be set by user) hours (perhaps either using terminal ifconfig or going to whatismyip).  If the IP does not change, it does nothing.  If, however, the  IP is changed (perhaps you could store the current IP in a text file which it compares it to?), then it will send an email to you with your new IP address.  It then updates the text file with the new IP so in the future it will compare it to the new IP.   

 

Does this make sense?  Is this something within the realm of possibility with Alfred?

 

Thanks!

Link to comment

I thought of a good idea for a workflow, but admittedly I'm quite new when it comes to this, and am running in to a lot of brick walls.

 

My IP at home is dynamic, and it changes on occasion.  I often need to remote in to my computer at home for files, etc.  When the IP changes, this obviously causes a problem.

 

I think a great workflow would be one that checks for the IP every X (to be set by user) hours (perhaps either using terminal ifconfig or going to whatismyip).  If the IP does not change, it does nothing.  If, however, the  IP is changed (perhaps you could store the current IP in a text file which it compares it to?), then it will send an email to you with your new IP address.  It then updates the text file with the new IP so in the future it will compare it to the new IP.   

 

Does this make sense?  Is this something within the realm of possibility with Alfred?

 

Thanks!

 

This is definitely possible but since it's something that runs on an interval, this is something that is more geared toward a launchd script or some sort of cron job and not so much with Alfred. 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...