I did a ImageMagick install on my CentOS webserver and afterwards my cronjobs do not work anymore. I have cronjobs that executes php files. For example one cronjob execute every 15 minutes a php file that reads a json file and insert variables in my mysql database. I did not change the php files and they still work from the command line with php -q /home/admin/domains/domain.nl/public_html/command/myfile.php The status of my cron is: [admin@server domains]$ service crond status Redirecting to /bin/systemctl status crond.service ● crond.service - Command Scheduler    Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)    Active: active (running) since Fri 2020-07-10 22:52:30 CEST; 10h ago  Main PID: 13519 (crond)    CGroup: /system.slice/crond.service            └─13519 /usr/sbin/crond -n  I have tried to restart my server, I have restart my cron service without result. My /var/log/cron looks like Jul 11 09:13:01 server CROND[11480]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:14:01 server CROND[11629]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:15:01 server CROND[11792]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:15:01 server CROND[11791]: (admin) CMD (php -q /home/admin/domains/domain.nl/public_html/command/myfile.php) Jul 11 09:16:01 server CROND[11931]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:17:01 server CROND[12075]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:18:01 server CROND[12244]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:19:01 server CROND[12375]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:19:43 server crontab[13932]: (root) LIST (admin) Jul 11 09:20:01 server CROND[13993]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 11 09:20:01 server CROND[13994]: (root) CMD (/usr/local/directadmin/dataskq) Jul 11 09:21:01 server CROND[14168]: (root) CMD (/usr/local/directadmin/dataskq)  With  php -q /home/admin/domains/domain.nl/public_html/command/myfile.php 2&gt;&amp;1 &gt;&gt;php -q /home/admin/domains/domain.nl/public_html/command/errorlog.txt  I try to view an extra error log, but the output to errorlog.txt is empty (but the file is made!). So I do not understand why the php file is doing nothing? What steps can I do to find the problem with the cronjob? Installing imageMagick was not easy. I also used the command: mount -o remount,exec /tmp
This is a  about using cron &amp; crontab.   You have been directed here because the community is fairly sure that the answer to your question can be found below. If your question is not answered below then the answers will help you gather information that will help the community help you. This information should be edited into your original question.  The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below.  This addresses the cron system with the crontab highlighted.
These two exercises I encountered recently seem to develop some type of connection between GCD and LCM I can't quite figure out. Exercise 1:  Find all the numbers $x$ and $y$ such that: $a) \ GCD(x,y)=15, \ LCM(x,y)=150$ $b) \ GCD(x,y)=120 \ LCM(x,y)=1320$ $c) \ GCD(x,y)=100 \ LCM(x,y)=990$  Exercise 2:   Find all the numbers $m,n$ such that $GCD(m,n)=pq , \ LCM(m,n)=p^2qs$  where $p,q,s$ are prime  The first thing that is known to me is that $GCD(x,y) \cdot LCM(x,y)= x \cdot y$ Also $LCM(x,y)$ is at most $x \cdot y$ while $GCD(x,y)$ is at most $\max \{x,y\}$. Last thing is that $GCD(x,y)|LCM(x,y)$. Using all this I tried to solve the first exercise: $a)$ First two obvious pairs are $x=15, y=150$ and $y=15, x=150$. Now neither of the numbers can be bigger than $150$ or smaller than $15$. So we are looking for numbers in the range $15-150$ that satisfy $x \cdot y = 15 \cdot 150$ Another such pair is $(x,y)=(30,75), \ (x,y)=(75,30)$. Similarly for $b)$ we find that the only possible values are permutations of the set {$120,1320$} and in $c)$ since $100$ does not divide $990$ no such numbers exist. Now exercise 2 is what made me think there is actually another connection I'm not quite aware of since now it's about arbitrary prime numbers and the previous method doesn't work anymore. My intuition is that it has something to do with $GCD$ or $LCM$ of the $GCD(x,y), \ LCM(x,y)$ Thousands of .log files in Exchange 2007 Server folder I'm a bit of an Exchange admin noob so I don't know if this is normal, but on our Exchange 2007 server under C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\ there are 30,000 1MB .log files.  I don't know if those should be there or not, but they keep multiplying like little jackrabbits.  I've so far resisted deleting them as I'm sure something would break, but it's come to the point now where our 80GB disk is completely full up and Exchange has stopped receiving messages.  My best guess is that these are transaction logs and would be useful in rebuilding the database should something go awry, but 30GB of transaction logging seems a bit excessive.  Is there a way to limit it or is that even a good idea?  And of course did I completely miss the point? I want to debug a router that is giving strange DHCP settings, but I don't know how to check it without having to make my system take all the configurations. Isn't there a utility that returns all DHCP settings (like NTP, WINS, DNS, IP, router) whenever a client connects?  Preferably that is platform independent, and that won't require changing the client's configuration to trigger the DHCP. What does \s! do? After writing the FreeNAS IMG to a 16 GB USB flash drive, I can now only use 938 MB. I used the Win32 Disk Imager tool to write the IMG to the device. Then later, when I inserted the the USB drive into my Windows 7 computer it said that it had to be formatted, because it couldn't read it. I believe this is normal. So I formatted it inside Windows using the format option when prompted. So in Windows Explorer now, 938 MB is reported as capacity of this device.    Also, when i check the properties dialog box I can see the same numbers.    And when I check with diskmgmt.msc I can see there are several volumes I don't recognize and unallocated space of 12.79 GB.    Now, I have another 2 GB USB flash drive with the same problem. It too was used for FreeNAS, and it too has a reported capacity of only 938 MB. I thought it was broken there for a while, until I saw the same problem with this 16 GB model.  I tried using diskpart on the 2 GB model, and I saw that there were several partitions there (list partitions) just like on this one. So I used the clean option to try to wipe it, but that wiped off everything so it's totally useless now. I'm not sure how to rebuild it.  Is this a standard routine, like part of the whole "user experience", that whenever you make a bootable USB falsh drive with FreeNAS, it messes up your device? I am new to FreeNAS, so i wouldn't know. But it sure looks like it. Maybe it is in fact the format operation in Windows that messes things up... I don't know. It's not very nice.  How do I restore the capacity back to 16 GB-ish (14.9 GiB)? Bathroom vanity light with no junction box Android Syntax Highlighting? Bluetooth indicator disappears on turning off bluetooth Everytime I turn off my bluetooth, the indicator icon in the system tray disappears, as opposed to just greying out as expected. Next time I need to go to the settings select bluetooth to turn it on, which makes the indicator to reappear.  Is there anyway I can make the indicator icon not disappear but stay greyed out when not in use? Prove or find a counterexample: For all real numbers x and y it holds that x + y is irrational if, and only if, both x and y are irrational. The following is a Homework Question that I've been working on and I would like some feedback on my answer: Prove or find a counterexample: For all real numbers $x$ and $y$ it holds that $x + y$ is irrational if, and only if, both $x$ and $y$ are irrational.  So I've got (or at least like to think I've got) a counter example.  Let $x = 1$ and $y = \sqrt{2}$.   Thus $x$ is rational and $y$ is irrational. Adding $x$ and $y$ gives us $1 + \sqrt{2}$ which cannot be simplified any further (right?) and is an irrational number.  Thereby proving that $x + y$ can be irrational without both x and y being irrational.   Is this okay? Any feedback is greatly appreciated thank you! How do I find a command if I don't know its name? Native Youtube app suddenly stopped working on iPad 1 It's been some weeks now, whenever I try to used my Youtube app, it tells me it's impossible to connect to Youtube. Since it's an iPad 1, I have had trouble finding information online.  Did Google or Apple stop supporting the app? Is it finally obsolete? Is there another app I could use that works on iOS 5?  Just to be clear, I did not tinker with my device. I did not change its parameters, I did not jailbreak it, it connects to the Internet just fine and I've tried the app on different Internet connections. Also, this is not a login problem, the app just refuses to let me browse videos, whether I'm logged in or not.  Thanks for your help. What did Hisoka do in the Hunter Exam? In the first Hunter Exam of the series (Hisoka's second),  was introduced into the series removing another applicant's arms from his body for bumping into him and not apologizing.    What did he actually do? We know Hisoka's abilities are Bungee Gum and Texture Surprise, but they don't explain how the arms are converting into flower petals as seen above. Square and square root and negative numbers Are they equal?      -5 = $\sqrt{(-5)^2}$ How to call drupal_bootstrap from custom file in subfolder? I'm trying to call drupal_bootstrap from 'temp.php' in a subfolder called 'custom' my code as follow:  chdir('../'); define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);   Once I call the temp.php I get Drupal homepage.   I also tried an explicit physical path but with no use, code as follow:  define('DRUPAL_ROOT', '/var/htdocs/drupal7'); require_once '../includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);   temp.php located under the following folder structure:  - var -- htdocs --- drupal7 ---- custom  ----- temp.php How can I hide my code in visualforce page? I use (and have it much bigger) drive D: to store all my user data and games, but I have installed the Steam client on drive C:. When I was installing a first game (Warhammer 40000), I've chosen to place my library folder on drive D: and the game went there.  But now as I've got installed the second game (Portal), I can see that it was put on drive C: despite to the choice I've done previously. When I open Steam - Settings - Downloads + Cloud - Steam library folders, I can see both installation places in the list. Can I merge them into one?  I would even agree to use the default drive C: library (as I've replaced it with a symlink already). When I press to remove one library it says it can only remove empty ones. Consider an isosceles triangle. Let r be the radius of the circumscribed circle and p be the radius of the inscribed circle. Prove that the distance d between the centers of these two circles is $$d = \sqrt{r(2p-r)}$$ "Give a hand" vs "Help" Currently, I'm working in an international company with many non-native speakers (so am I) but with pretty good level of English, I suppose.  I have noticed that my colleagues usually use phrase "give a hand" when asking for  help or even talking about it and seems to be avoiding the strong word "help".  It looks a bit confusing to me especially after I made people laugh when I said  "I will help you" in one of our conversations, don't remember exact context though...  So could you please describe the difference between them? And is there something wrong or hidden meaning with help-based phrase? I have two related problems that are causing me big trouble:  Let $\;a_1,...,a_n\in\Bbb R\;,\;\;a_i\neq 0\;\;\forall\;i\;$ , and let $\;b_1,...,b_n\in\Bbb R\;,\;\;b_i\neq b_j\;\;\forall\,i\neq j\;$ .  (1) Prove that the equation  $$a_1x^{b_1}+\ldots+a_nx^{b_n}=0$$  has at most $\;n-1\;$ different zeros in $\;(0,\infty)\;$ (Hint: Use induction)  (2) Prove that the equation  $$a_1e^{b_1x}+\ldots+a_ne^{b_nx}=0$$  has at most $\;n-1\;$ different zeros in $\;\Bbb R\;$ .  Now, the following is what I've done so far: for a differentiable function $\;f\;$ ,  I can prove that if $\;f'(x)=0\;$ has $\;n-1\;$ different zeros, then $\;f(x)\;$ has at most $\;n\;$ different zeros, using the mean value theorem, say.  But I can't see how to use induction in this case: if I differentiate in the first problem, I get $$0=f'(x)=a_1b_1x^{b_1-1}+\ldots +a_nb_nx^{b_n-1}=\frac1x\sum_{i=1}^na_ib_ix^{b_i}$$  ...and now?! How does induction kick in here? I though perhap something like: if we suppose WLOG $\;b_1&lt;b_2&lt;...&lt;b_n\;$ , then perhaps inducting on $\;\lfloor b_n\rfloor\;$, but it gets messy and blurry if $\;b_n&lt;0\;$...  Any help, hints are very much appreciated. $1+x+\ldots+x^n$ perfect square Let $p$ be the polynomial $p(x)=1+x+\ldots+x^n$. For which couples $(a, n)\in\mathbb{N}^2$, $p(a)$ is a perfect square? I'm particularly interested in $p(3)$.