Quantcast
Channel: Question and Answer » cron
Browsing latest articles
Browse All 165 View Live

Cron command is running but not actually executing

I’m on a new server and having issues getting crons to run under cron.d Here is the content of /etc/cron.d/mytest: MAILTO="" SHELL=/bin/bash */1 * * * * root sudo /usr/bin/php...

View Article


How to to design a cronjob-like requirement

I have to design a system where I need to make some processing (which might take say 10 mins). After some amount of time (say 30 mins), I need to come back and check the status of this processing and...

View Article


How to make cron job which suspends computer before specified time of the day

I am trying to make script which suspends computer if it is used before specified time of the day or if it is used too long. #! /bin/bash...

View Article

Managing cron jobs across multiple servers

We are facing a problem with managing cron jobs over multiple servers with dependencies. I hope there is an opensource central management project that I can be used to handle that and report the status...

View Article

Image may be NSFW.
Clik here to view.

Revisions revert unexpectedly

I have a really horrible intermittent bug where a collection of nodes will reset to a previous revision. Here is an image of the revisions tab on the node: There are three unusual aspects: The ‘current...

View Article


Image may be NSFW.
Clik here to view.

Plesk scheduled task not working

I’ve got some problems with the scheduled task feature in Plesk while setting up a task that should execute a php-file every minute. As you can see in the screenshot, everything should be fine and...

View Article

Unsupported operand types in /includes/common.inc on line 3022. D6

PHP Fatal error: Unsupported operand types in /includes/common.inc on line 3028 I have this error while I attempt to run cron.php. So my sitemap doesn’t generate. My cron.php is not working. I can’t...

View Article

CRON problem – an apt-get dist-upgrade job

This question is related to Debian 8.4. I applied the same updating mechanism to several desktop stations and one unused server. This problem appeared on the server but I suspect it will happen on all...

View Article


How to check if a crontab job works when it should

So I’ve made a basic .sh file to clear my cache using the sync; echo < 3 /proc/sys/vm/drop_caches command. Then I saved it to my username in /home/marc Then I came across the crontab so I decided to...

View Article


netcat output does not write to array if launched from cron

I am able to run this script as a user or root with bash or sh. Doing so gives me the output that I expect (arrayFWS is written to file, then emailed). However, when I run it with crontab with user or...

View Article
Browsing latest articles
Browse All 165 View Live