Skip to content

Automatic signing/mailing system used to send clock-in/clock-out hours to our employer along with our electronic signature.

Notifications You must be signed in to change notification settings

VctorAHernndez/AutoJornal

Repository files navigation

AutoJornal

Automatic signing/mailing system used to send clock-in/clock-out hours to our employer with our electronic signature. System is currently being run every two weeks on a Raspberry Pi with Raspbian installed.

Usage

Clone the repository into your Raspberry Pi's home folder:

cd ~
git clone https://github.com/VctorAHernndez/AutoJornal.git

Run the following lines to create a virtual environment and install the dependencies:

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
sudo apt install libtiff5 # if not yet installed

Create an environment file .env that contains your gmail address and its app password (click here to know how to set it up) at the root of the repository folder by adding the following lines:

[email protected]
APP_PASSWORD=your-app-password-here

Create a cron job that will execute main.py every two weeks by running the crontab -e command and adding the following line at the end of the cron file:

0 8 * * Tue /home/pi/AutoJornal/cron.sh > /home/pi/AutoJornal/out.log 2>&1

About

Automatic signing/mailing system used to send clock-in/clock-out hours to our employer along with our electronic signature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published