Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
haze2706yHave you tried turning if off and on again?
...
Seriously, my problems with desktop Ubuntu get fixed that way. Maybe will help with yours. -
TobiSGD2816yPretty much every problem I had so far with running something as cronjob was missing environment variables. Always use full path names, never assume that a PATH or other environment variable is set correctly.
-
endor56666yDoes your script have the executable (+x) flag?
Did your crontab get updated after you edited it? (Iirc of you just edit it with a text editor it doesn't update, you have to use the crontab command or do something else to reload the updated crontab) -
TobiSGD2816y@Ganofins Assuming that you don't have a MTA configured, have you tried to redirect the output of the command into a file to check if you get error-messages?
-
@Ganofins You need your $DISPLAY environment variable set to an existing display to use that.
It's easier and cleaner to use xvfb for that.
Have a look here:
http://elementalselenium.com/tips/...
Related Rants
-
snakebyte6My first complete pipeline with Jenkins: - push on gitlab - build with maven - test with junit - deploy wi...
-
zareef3up at 11:30pm finishing some work when fire alarm goes off.... waited to see if my tests passed before leaving
-
ZeMooX1When i try to justify the inconsistency of Selenium Tests.
My selenium script cronjob is not running on the VPS.
I am not sure what's wrong with it
Even the crond service status just shows
the session was opened for the user root
shows the command
the session closed for user root
I tried the tons of solution available but nothing worked
I am using Ubuntu 16.04 with LXDE
question
selenium
crontab