Skip to content

Sasha-hk/notion-automatization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“” Notion automation

This is python automation script for Notion. The script runs on my server every minute.

Installation

Requirements:

  • python3.9

Run:

. ./setup.sh

Create an .env file with the following content:

TOKEN=<token>
DATABASE_ID=<id>

Put your token and database in the variables.

Cron

The command above creates run.sh file that required for Cron.

Now open Cron:

crontab -e

and type this:

* * * * * <project dir>/run.sh

The line means that the file run.sh file will run every minute