Quantcast
Channel: Question and Answer » cron
Browsing index pages (165 articles)

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


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


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

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

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


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

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

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


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


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

WordPress Scheduled Task Not Firing

I want to echo a string after a time period using WordPress scheduling. Below is my code in functions.php. Nothing gets printed through echo statement and also there is no error. Please guide what am I...

View Article

Cronjob Create File Every Execute

I can create a cron job for every 5 minutes with following codes: */5 * * * * root bash /etc/cron.d/mongo/5min.sh In the /etc/cron.d/mongo/5min.sh file send request with cURL: #!/bin/sh export...

View Article

Get the process start time irrespective of NTP updates

I’m trying to record the start time of a process kicked off by an @reboot cronjob. I’m using ps -p $$ -o ltime= presently, but I’ve run into a catch. My machine (a Raspberry Pi) connects to the network...

View Article


Set up a wp_cron to work daily, and set up a real cpanel chron, but its not...

So I followed all the instructions on this page https://support.hostgator.com/articles/specialized-help/technical/wordpress/how-to-replace-wordpress-cron-with-a-real-cron-job disabled wp_cron, and...

View Article

linux crontab + how to set crontab at 23:00

please advice how to set the crontab in linux to run a task each day at 23:00 at night and if someone know a shell script that we can run in the linux that can help us to set acrontab syntax

View Article


Image may be NSFW.
Clik here to view.

Using zip package for debian with password

I’m trying to make a backup .sh script to zip my files and to protect the zip archive with a password For that i’m using the zip package (apt-get install zip) and there’s an encryption option...

View Article

Crontab resetting itself

I have a computer with Ubuntu server 15.10 installed on it that sits in the same room I am in. I use it just as a Minecraft server, map renderer and whatever else php scripts I want to run scheduled...

View Article


Cron Jobs Centos7 [closed]

I’ve got a simple script that compresses the a file and then uploads it to google drive. I’d like to set this as a cron job every day at 6:30am. I’ve tried the following below after running the command...

View Article

Cron Jobs Centos7 [on hold]

I’ve got a simple script that compresses the a file and then uploads it to google drive. I’d like to set this as a cron job every day at 6:30am. I’ve tried the following below after running the command...

View Article

elysia_cron setup for custom callback

I have created a custom callback to perform some batch operation. How can I set schedule for execution using elysia_cron?

View Article
Browsing index pages (165 articles)


Latest Images