Jump to content

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


Recommended Posts

Guest mxmaniac
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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...