Skip to content

syedecryptr/timesheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Requirements

selenium==3.141.0

Setup

To run, install chromedriver correponding to your chrome version from : https://chromedriver.chromium.org/

To check chrome version: https://www.howtogeek.com/299243/which-version-of-chrome-do-i-have/

Move downloaded chrome driver in the same folder. Current chromedriver present in the repo is for version 80.0.3987.106

Edit creds.txt with your credentials.

Initiate

python main.py

For cron job

To start script at 2:00pm everyday.

Add an alias of the chromedriver in the /usr/bin directory:
sudo ln -s /path/to/chromedriver /usr/bin

Make the script executable by:
chmod u+x /path/to/main.py

Open your cron table by
crontab -e 

Add the following cron entry:
0 14 * * * cd /path/to/timesheet/ && /usr/bin/env python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages