Jump to content

Possible to have a bash script/cron job automatically login to a site?

Featured Replies

Posted

I've had situations where I'm required to log into a website every 2 weeks, or every month to keep a service active.

 

One example is no-ip, the dynamic dns service. If you don't login each month, your stuff gets deleted.

 

I'm wondering if its possible to have a cron job, that runs a bash script, that logs into a website every 10 days or so?

 

I know mostly how to do this, except for the login part. Normally your required to click the mouse on the login fields, type credentials, press enter, etc. I tried going to various sites with the plaintext type format of user(colon)password(at)sitename, but that didn't work. How can I make a bash script login to the site?

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...