Skip to content

kang-marvin/transcriber-job-availability-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Script

Install dependencies

  bundle install

Make start file executable

  chmod +x start.sh

Bot schedule waiting time

Currently the bot runs after every 5 minutes. Check the file called schedule.rb inside the cofig folder. You can change the value 5 to any number between 1 and 59. if you want an hours or days. Use this syntax

  1.minute
  5.minutes
  3.hours
  4.days
  2.months

How to start the script

  ./start.sh

How to stop the script

  ./stop.sh

Audio Files

They are from pixabay.com

I have downloaded only 3 of them. The audio plays for only 5 seconds ie 5000ms

Login Credentials

Use the example in example.env and create a .env file with login details.

Issues with Crontab on Mac

If you are on mac os, check this article

Fixing Cron jobs in Mojave

How to confirm the job has been added to Cronjob

Run the following command

  crontab -l

About

Check if jobs are available and play audio to inform the user

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published