Tagged Questions
1
vote
0answers
86 views
Crontab not running a script
I have set my crontab to run 2 script.
the first script is not running.
I set up on the crontab -e not sudo crontab -e
The error i have is this
...
0
votes
0answers
80 views
Ubuntu for phones: fully functional shell?
Will “Ubuntu for phones” work with a fully functional, normal shell/terminal like in Ubuntu Desktop?
I’m working with bash-scripts with the cron and lp commands, and I have problems with these ...
1
vote
3answers
204 views
Cron works, but scheduled job to open webpage in chrome does not
Updates START
A friend of mine just answered this. I need to do this export DISPLAY=:0 && <my GUI dependent command here> Waiting for him to post the answer here.
I have tried ...
0
votes
1answer
429 views
Crontab and Shell Script not Executing [duplicate]
Anybody any suggestions on why my crontab and shell script is not running.
I have
chmod +x my shell script and added the following into crontab -e
*/5 * * * * bash cd /home/jclark/scrips/ipcheck/ ...
0
votes
2answers
156 views
How to mkdir -p -m 777 to all missing pathname directories?
I'm putting a file in cron.hourly which needs to create a folder on the 1st time, and giving it access to an user so i don't need to use sudo if i want to remove all content in the folder. And in it ...
0
votes
1answer
252 views
Cron cannot run gnome-terminal
I set the following cron in my local machine.
* * * * * /bin/bash -c /home/JSX/Stuff/J/login-check/open-console.sh
The content of open-console.sh is the following:-
#! /bin/sh
gnome-terminal ...
1
vote
1answer
5k views
Cron job not executing
I was making a cron job to save my Minecraft world from my ram every 5 minutes.
I tested the script and it seems to be working.
This is what the script looks like:
#!/bin/sh
...
1
vote
0answers
294 views
Why doesn't duply work when set as a cron job?
I have a problem with a cron job which starts but doesn't complete. Running the command manually works fine. I already read the page about cron issues and solutions here on AskUbuntu, tried the ...
1
vote
2answers
1k views
Mutt runng from Crontab
I have a bash script that is sending an email through command line mutt. This bash script is being called from a cron job (setup using crontab -e because of permissions needed to do all items in the ...
1
vote
2answers
797 views
How to control output from crontab?
I am trying to run a test case via automation testing (sahi) , so I am running it repeatedly after 1 hour (via crontab).
What I want is that whenever my test case fails i should receive the email ...
2
votes
3answers
661 views
How to run a program for a fixed period of time?
I am looking for a method built-in to ubuntu that will allow me to run a script or program or whatever for a fixed period of time.
I found a program that does this in a way I like, but the package is ...
1
vote
1answer
841 views
Why is this rkhunter script sending empty emails?
I have started running rkhunter (a security monitoring tool) and I have finally managed to clear all of its warnings.
Now, a cron job runs every day to monitor my machine. Rather than send me an ...
2
votes
4answers
3k views
execute script after desktop loaded?
I want to execute bash script on startup that opens several terminals in different workspaces.
Script works just fine if I call it from terminal, but it doesn't work if executed from crontab using ...
1
vote
1answer
743 views
How to move files over samba share with gnomevfs cli
Ok I am in the process of backing up my film collection to a NAS and I wanted to automate this as much as possible as I have to work at the same time. I am trying to setup a daily dump of ISO's ready ...
4
votes
4answers
4k views
Cron.hourly won't run
Ok, So I've made my script, I dropped it in /etc/cron.hourly then I chmod 777 the file but it won't run (automatically). If I manually run it, it works fine. Do I need to do anything else?
2
votes
2answers
311 views
Function of /etc/cron.hourly
If I create a script and then place it in this folder (/etc/cron.hourly), will my system run this script hourly? Or does my script need to begin with a command as well?
1
vote
2answers
1k views
How can I setup nightly backups via the command line?
I'm running Ubuntu Server and I'm looking for an efficient way of performing nightly backups of particular directories using cron. However, since the computer isn't always on, I'd like it to just run ...