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 ArticleHow 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 ArticleHow 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 ArticleManaging 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 ArticleRevisions 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 ArticlePlesk 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 ArticleUnsupported 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 ArticleCRON 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 ArticleHow 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 Articlenetcat 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