0
votes
2answers
336 views

Start script.py after reboot as user xy in Debian Squeeze

How can i start a python script.py after a reboot as user xy in Debian Squeeze automatically?
2
votes
3answers
256 views

Is it possible to assign a nice and ionice priority to all scripts executed by cron daemon?

To be a bit more concrete: I have a Debian Squeeze Linux machine with a web application that should become available all over the planet. Until now I had a bunch of resource consuming cronjobs each ...
0
votes
2answers
248 views

how to know what crontab is going to do

Somehow the stuff i wrote in the crontab is now working as i wish. To be more exactly, i think it is not executing my commands. So now i would like to know if there is a way to get a plan what ...
0
votes
3answers
99 views

crons are not working, but scripts are… any idea what is it?

I checked on internet , this might be a common problem, but I dont know how to solve it, all things that they said are not my case... The cron is running, I checked, still, I have no log files (at ...
2
votes
2answers
592 views

Cron job doesn't seem to work

I scheduled a task every 5 minutes in my crontab. The task is well-scheduled by activating the cron log in rsyslog and checked that it executes as planned: - Right user - Right command Sample log ...
2
votes
2answers
161 views

Runing perl Script using root cron told me “access denied”

This comes from here Now it runs, but when i run it using the root crontab, it told me: *tail: /var/log/backupeitor.log: file truncated /bin/sh: /home/backup/scripts/backupeitor.pl: Permission ...
3
votes
2answers
867 views

Why does cron.weekly not run?

When I noticed that the backupscript I placed in /etc/cron.weekly on my Debian6 server isn't executed I placed this small script in it, to see if the weekly cronjob is executed at all: #!/bin/bash ...
0
votes
1answer
113 views

cronjob is running 2x in a hour instead 1x

I have written a small backup script for my vserver and added its execution to my /etc/crontab 25 * * * * root /etc/cron.daily/backup.sh This is the entry (yeah it is still located in the wrong ...
1
vote
2answers
70 views

Manage cron to clear cached directories

What would be the best way to manage a cron job which deletes files from multiple locations every week? When I say manage, I mean the different locations ideally this would work best in a MySQL ...
0
votes
1answer
332 views

LDAP backup script only send email if error

I am using this script to backup the LDAP daily via cronjob. Is it possible to modify the script to only send a email if there has been an error. Copy of email sent daily * Create data directory: ...
2
votes
2answers
3k views

php cli memory limit

I am getting a memory error in a php cron job: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /opt/matrix/core/lib/DAL/DAL.inc on line 830 The ...
5
votes
2answers
289 views

Weekly cron executing 2 times:

I have placed a .sh file that runs a php script weekly. This script should run only once, but every sunday it runs at: 1:30 am 6:50 am Any way to fix this? OH CRAP in the first email the user ...