Setting anacron on Mac – Shell Scripting
I set cron to run script every day using env EDITOR=nano crontab -e where I wrote something like this @daily path/to/sript.script. Now I want to use anacron to be sure that script is going to be run...
View ArticleLinux password expiring and cron jobs failing
I have jobs running on a server which I access via powerbroker (so don’t know the password). However the password of the user account expired recently and the said jobs failed. Due to password policy I...
View ArticleUpgrading packages automatically
I’m fairly new to using servers (debian 7) and I’m currently running cron-apt to e-mail me when there are new upgrades available. Is the following command safe to run when new upgrades are shown? sudo...
View ArticleHow can you access Apple Mail from Apple script?
I want to archive old emails ( say, older then 7 days ) from my inbox automatically with an applescript scheduled via cron. To be honest, I am open to other Apple-friendly languages such as Swift or...
View ArticleCron stuck because update module
My cron is stuck because “Drupal core update status : No update data available”, when disable update module, cron run good again. Just try manual update but it run more than 3 minutes then nothing...
View Articleelysia_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 ArticleCron 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 ArticleCron 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 ArticleCrontab 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 ArticleUsing 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 Articlelinux 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 ArticleSet 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 ArticleGet 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 ArticleCronjob 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 ArticleWordPress 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 ArticleCron 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 Article