command
module
Version:
v0.0.0-...-23cb2b8
Opens a new window with list of versions in this module.
Published: Mar 27, 2024
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Vivre Ensemble
One who seeks to apply for Luxembourgish citizenship needs to complete "Vivre ensemble au Grand-Duché de Luxembourg" courses.
I built this program to monitor the official website and tell me when new courses are published.
Setup
Remember to use a Luxembourgish IP as the website blocks access from other countries.
-
Edit the two constants at the top of vivre-ensemble.go (PHONE_NUMBER and DATA_DIR).
-
Build the program:
go build -o bin/vivre-ensemble ./...
-
Use cron to run it in a given schedule. For running it every 15min from an example directory:
*/15 * * * * /Users/irio/Workspace/vivre-ensemble/bin/vivre-ensemble --short >> /Users/irio/Workspace/vivre-ensemble/cron.log
Testing
For a quick run that prints a short summary without persistence in disk, run:
go run ./... --short --no-save
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.