/transcriber-job-availability-bot

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

Primary LanguageRuby

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