update readme
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
# Playwright demo
|
||||
|
||||
the smallest subset of stuff you can use for a demo
|
||||
|
||||
worked on with chatgpt (not even codex) for a Thing that solves a problem.
|
||||
|
||||
## how to set ts up to run daily
|
||||
|
||||
> [!NOTE]
|
||||
> Windows only, on other platforms find your own way
|
||||
|
||||
### set up the project
|
||||
|
||||
remember where you put this project dont move it
|
||||
|
||||
after clone run:
|
||||
|
||||
```bash
|
||||
uv sync
|
||||
```
|
||||
|
||||
youre done
|
||||
|
||||
if you decide to move the project run uv sync again, and change the program path below
|
||||
|
||||
### setup automation
|
||||
|
||||
so uhh open task scheduler
|
||||
|
||||
Create Basic Task at the right
|
||||
|
||||
name it descriptively (dont sfdkjhgsfkjahsd)
|
||||
|
||||
trigger daily at where im at itd be 23:00:00
|
||||
|
||||
action Start a program
|
||||
|
||||
find the program at `.venv/Scripts/akef-signin.exe`
|
||||
|
||||
select, no args required.
|
||||
|
||||
Next, find the item you just created,
|
||||
|
||||
go to Properties
|
||||
|
||||
check settings, **"Run task ASAP after a scheduled start is missed"** turn that on
|
||||
|
||||
check Conditions, turn off start if only AC if you want.
|
||||
|
||||
done!
|
||||
|
||||
### setup account
|
||||
|
||||
now run that program first to login manually
|
||||
|
||||
then you are set
|
||||
|
||||
> [!NOTE]
|
||||
> to reload the bin after a change, do `uv sync`
|
||||
|
||||
Reference in New Issue
Block a user