Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

EasyEPG failing when running via cron #72

Open
matmielke opened this issue Feb 6, 2022 · 2 comments
Open

EasyEPG failing when running via cron #72

matmielke opened this issue Feb 6, 2022 · 2 comments

Comments

@matmielke
Copy link

Hello,

I managed to install everything, it is basically working well when calling the script with sudo (needed to mount external drive).
But when I use the exactly same script via cron, it fails with the following output:
`----------------------------------------------
EASYEPG SIMPLE XMLTV GRABBER
Release v0.4.3 BETA
powered by

==THE=======================================

##### ##### # # ##### #####

# # # # # # # #

##### ##### ##### ##### ##### #

# # # # # # #

# # ##### # ##### #

===================================PROJECT==

(c) 2019-2020 Jan-Luca Neumann / sunsettrack4

Initializing script environment...

[ FATAL ERROR ] Required applications are missing - Stop.
`
Is there any hint how to proceed? The current output doesn't give a clue about what is missing.

Thanks and best regards,
Matthias

@FrAcTi0N
Copy link

FrAcTi0N commented Feb 6, 2022

mine is running fine. Try to cd into the directory in your cron command first. Here is my cron cmd example:cd ~/pvr/epg/easyepg && bash epg.sh

@matmielke
Copy link
Author

Thank you, but unfortunately, that didn't make a difference.

But I tested some things yesterday and found out the following:

  • My phantomJS was not installable with package manager and I did it manually
  • the symlink for phantomJS points to /usr/local/bin
  • when adding /usr/local/bin to the path within the calling sciript that's executed by cron, everything is fine

Suggestion: It would be great to get a hint if phantomJS is causing the problem if that's possible.

Btw: When calling phantomJS -v, it returns an error as some libssl1.0.0 seems to be missing and is also not available via package manager. Nevertheless, easyepg is working.

Best regards,
Matthias

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants