I
I
Ivan2020-03-23 05:29:45
WordPress
Ivan, 2020-03-23 05:29:45

How to set up automatic opening of the site on a schedule?

We have Mac OS and the site https://edu.susu.ru, it is necessary to make sure that this site comes off every working day at 7.30 (it's easy to do through Automator) and logs in there by going further to the tabs with the schedule, tasks for today and the like. .. so to speak, to understand what awaits you over the next couple of hours)
As far as I understand, it will be most convenient to work with JS (although I don’t know it from the word at all, but I have a desire to learn) and in order to log in, you need to assign fields with the names login_username and login_password corresponding values,
5e78228eb2ded475967069.png
but I don’t understand how to access them due to lack of knowledge, after spending the night searching, I realized that either I can’t ask a question to ask so that the almighty Internet answers, now all hope for habr

this is how the launch of the site on time through automator looks like7BBc9AlrD5o.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Gvozdev, 2019-08-27
@arty23_03

here is the article - https://wp-kama.ru/id_652/dinamicheskiy-arhiv-blog...

N
Nikolai Chuprik, 2020-03-23
@choupa

To automatically perform any actions on the site, you can go in two ways. This can execute a server script on a schedule, such as in PHP using CURL. Or it can be done by the browser. In the latter case, the userscript keyword. This is a JS script that you can write and "settle" as an extension in your browser. When a certain page is opened, such a userscript interacts with it by executing its code, for example, filling in fields, clicking buttons, submitting forms.
But it makes sense to talk about all this only if you know how to javascipt. If you don't know it and want to study it, then this problem... mmm... is not quite suitable for the first experiment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question