Hi out there!
Im entirely new in here, but i hope you guys can help me in any way possible with a project i would like to start on. This also mean that i don't even know what I'm getting into, or how hard/easy it's going to be.
I would like to create a script to run in terminal each night of saturday, sunday monday, tuesday and wednesday for this part iv'e been told to use cron.
Now for the script i would like to run through cron:
It has to log into a certain webpage, where my username/password has already been typed in (thought it would make the process easier if i made the page remember my logon-info)
- Then i want it to book a room for my (it's at my school), i need to specify which kind of room, for how long (max = 4 hours, so i always want to book 4 hours), which date (When booking saturday morning at 00.00 it's possible to book 48 hours ahead, so it books the room for monday morning), sunday at 00.00 i want it to book tuesday and so on.
- Lastly i want it to log out after booking ofc.
My question to you guys is... Is this possible? (I guess yes, but) how hard is it? My only coding experience is in Excel VBA and a program called OX (sort of like matlab, a bit more rigid code). I know it isn't much, but that doesn't mean it's impossible, i like coding and would enjoy to learn something about using the Terminal app.
- Any kind of help will be appreciated beyond the skies!!! If you know a smarter (Easier) way than what I'm talking about, i would like to hear it too!
Im entirely new in here, but i hope you guys can help me in any way possible with a project i would like to start on. This also mean that i don't even know what I'm getting into, or how hard/easy it's going to be.
I would like to create a script to run in terminal each night of saturday, sunday monday, tuesday and wednesday for this part iv'e been told to use cron.
Now for the script i would like to run through cron:
It has to log into a certain webpage, where my username/password has already been typed in (thought it would make the process easier if i made the page remember my logon-info)
- Then i want it to book a room for my (it's at my school), i need to specify which kind of room, for how long (max = 4 hours, so i always want to book 4 hours), which date (When booking saturday morning at 00.00 it's possible to book 48 hours ahead, so it books the room for monday morning), sunday at 00.00 i want it to book tuesday and so on.
- Lastly i want it to log out after booking ofc.
My question to you guys is... Is this possible? (I guess yes, but) how hard is it? My only coding experience is in Excel VBA and a program called OX (sort of like matlab, a bit more rigid code). I know it isn't much, but that doesn't mean it's impossible, i like coding and would enjoy to learn something about using the Terminal app.
- Any kind of help will be appreciated beyond the skies!!! If you know a smarter (Easier) way than what I'm talking about, i would like to hear it too!
Last edited: