I have a Script called "test.sh" in my Home Directory  I want to be able to run it in crontab.  I have added  * * * * * /home/tom/test.sh   to the crontab however it doesn't seem to be excecuting.  I can excecute ./test.sh fine normally in a Terminal Window.  Edit:   This is the content of my script "test.sh"  #!/bin/sh gnome-terminal -- sh -c 'cd Server &amp;&amp; ./start.sh'   It creates a new terminal window, changes directory to Server and runs another executable script.  I do not know if this has something to do with the script not working in Cron.  The error I get in /var/log/syslog is:  CRON[18694]: (tom) CMD (sh /home/tom/test.sh) CRON[18693]: (CRON) info (No MTA installed, discarding output)
I really read many tutorials, but crontab doesn't start notify send.  What I've tried:   etc/crontab  added at the end:  15 * * * * notify-send 'crontab' 'test'  with crontab interface:  crontab -e   added at the end:  15 * * * * notify-send 'crontab' 'test'
Difference between modelAttribute and commandName attributes in form tag in spring? My HDRI doesn't appear on Cycles Render Using methods from another class in the main? Question is :  Suppose $X$ is a topological space of infinite cardinality which is homeomorphic to $X\times X$. Then which of the following is true:   $X$ is not connected. $X$ is not compact $X$ is not homeomorphic to a subset of $\mathbb{R}$ None of the above.   I guess first two options are false.  We do have possibility that product of two connected spaces is connected.  So, $X\times X$ is connected if $X$ is connected. So I guess there is no problem.  We do have possibility that product of two compact spaces is compact.  So, $X\times X$ is compact if $X$ is compact. So I guess there is no problem.  I understand that this is not the proof to exclude first two options but I guess the chance is more for them to be false.  So, only thing I have problem with is third option.  I could do nothing for that third option..  I would be thankful if some one can help me out to clear this.  Thank you :) Who is the Community user? I see the  on the user page.  It seems to edit posts sometimes.  What is it? And why has it downvoted over 1800 times? See also: Is there a proof from the first principle that the Lagrangian L = T - V? Is there a proof from the first principle that for the Lagrangian $L$,    $$L = T\text{(kinetic energy)} - V\text{(potential energy)}$$  in classical mechanics? Assume that Cartesian coordinates are used. Among the combinations, $L = T - nV$, only $n=1$ works. Is there a fundamental reason for it?  On the other hand, the variational principle used in deriving the equations of motion, Euler-Lagrange equation, is general enough (can be used to to find the optimum of any parametrized integral) and does not specify the form of Lagrangian. I appreciate for anyone who gives the  answer, and if possible, the primary source (who published the answer first in the literature).      Notes added on Sept 22: - Both answers are correct as far as I can find. Both answerers were not sure about what I meant by the term I used: 'first principle'. I like to elaborate what I was thinking, not meant to be condescending or anything near to that. Please have a little understanding if the words I use are not well-thought of. - We do science by collecting facts, forming empirical laws, building a theory which generalizes the laws, then we go back to the lab and find if the generalization part can stand up to the verification. Newton's laws are close to the end of empirical laws, meaning that they are easily verified in the lab. These laws are not limited to gravity, but are used mostly under the condition of gravity. When we generalize and express them in Lagrangian or Hamiltonian, they can be used where Newton's laws cannot, for example, on electromagnetism, or any other forces unknown to us. Lagrangian or Hamiltonian and the derived equations of motion are generalizations and more on the theory side, relatively speaking; at least those are a little more theoretical than Newton's laws. We still go to lab to verify these generalizations, but it's somewhat harder to do so, like we have to use Large Hadron Collider. - But here is a new problem, as @Jerry Schirmer pointed out in his comment and I agreed. Lagrangian is great tool if we know its expression. If we don't, then we are at lost. Lagrangian is almost as useless as Newton's laws for a new mysterious force. It's almost as useless but not quite, because we can try and error. We have much better luck to try and error on Lagrangian than on equations of motion. - Oh, variational principle is a 'first principle' in my mind and is used to derive Euler-Lagrange equation. But variational principle does not give a clue about the explicit expression of Lagrangian. This is the point I'm driving at. This is why I'm looking for help, say, in Physics SE. If someone knew the reason why n=1 in L=T-nV, then we could use this reasoning to find out about a mysterious force. It looks like that someone is in the future. What's the difference between the apt packages: 'cinnamon' and 'cinnamon-desktop-environment'? I have a fresh Ubuntu install and want to install Cinnamon as the desktop environment. When I do apt search cinnamon, I get multiple results, but two seems like they are the correct one.   The first is just   cinnamon/xenial 2.8.6-1ubuntu1 amd64 all     Innovative and comfortable desktop (Common data files)   while the other is   cinnamon-desktop-environment/xenial,xenial 2.8.0 all     Cinnamon desktop environment - full desktop with extra components   What's the difference between the two? What does the cinnamon-desktop-environment package contain that the cinnamon doesn't? Can a hyphen be used without anything on the right side? Can we have a list of all the Stack Exchange domains somewhere, for firewall purposes? I work behind an really annoying firewall, and I just want the net admin to add all the SE websites to the whitelist. Right now I've lost access to Stack Overflow's authentication, but not Meta's... so I have to come here before I log in there.  It's driving me nuts. Basically I just want to add an exclusion rule for all SE domains; not only the website domains, but also the content domains such as gravatar.com, quantserve.com, the domain that holds static content, etc... I used an SRTM DEM to create a hillshade in QGIS 2.2.0. However, the resultant hillshade seems to be vertically exaggerated. Also, changing the settings for scale and z-factor does not have any effect on the resultant hillshade. I have tried both options in QGIS, Analysis-> DEM (Terrain models) and Terrain analysis -> Hillshade. Both methods gave the same results.  Is this an isolated incident, a bug, or am I missing something? What is a 'rollback'? What is a 'rollback' on Stack Exchange sites? I have seen this mentioned but I do not understand the term. Please note: This post is not a sandbox for performing rollbacks. Please do not perform rollbacks on this post without valid reason. If you want to try out a few rollbacks, do it  instead.   See also   in the Help Center How do I get the UTC time of "midnight" for a given timezone? The best I can come up with for now is this monstrosity:  &gt;&gt;&gt; datetime.utcnow() \ ...   .replace(tzinfo=pytz.UTC) \ ...   .astimezone(pytz.timezone("Australia/Melbourne")) \ ...   .replace(hour=0,minute=0,second=0,microsecond=0) \ ...   .astimezone(pytz.UTC) \ ...   .replace(tzinfo=None) datetime.datetime(2008, 12, 16, 13, 0)   I.e., in English, get the current time (in UTC), convert it to some other timezone, set the time to midnight, then convert back to UTC.  I'm not just using now() or localtime() as that would use the server's timezone, not the user's timezone.  I can't help feeling I'm missing something, any ideas? Adding vertical space at the start of a page I'd like to, first thing before writing anything on a page, add some vertical space.  Minimal (non)working example:  \documentclass{article} \begin{document}  \vspace{250px} I want to be further down on the page :(  \vspace{250px} Haha! Sucker :D \end{document}     How can I get the first \vspace to work, just like the second one? ANOVA analysis with only mean and standard deviation I wanted a list of sub-domains of Stack Exchange that are not mentioned over here   Some of the sub-domains I found which were not mentioned are       Are there any other which are not mentioned?    Mentions by , ,             Other mentions below which are not mentioned in "All Sites" but are mentioned in the drop down menu on the top left of the Stack Exchange website         Any other website that's left out ? Electromagnetic waves can be shielded by a perfect conductor. What about gravitational fields or waves? I can see by manipulating the expression why $\mathbb{E}X$ works out to be $\int_0^\infty 1-F(x)\,dx$, where $F$ is the distribution function of $X$, but what is an intuitive explanation for why that is true? If at each point we sum the probability $\mathbb{P}(X&gt;x)$, why should we end up with the expectation?  Thanks Is "each" singular or plural? You goes with are. Does the presence of each change this?  How satisfied are each of you with the time you've spent in your respective  universities. How satisfied is each of you with the time you've spent in your respective  universities Analysing Bounce Rate and Time on Page I'm working on an eCommerce site and there's a perceived problem with the bounce rates on product pages. The best performing page (in terms of views), tends to have a very high bounce rate, at about 80%. This page is also targeted with Ads, but in both non-paid and paid traffic, the bounce rate stays high.  What's weird about it is that the time on this page is about 2 and a half minutes. The others pages have a slightly lower bounce rate (between 50% and 75%) with visit times between 1 minute and 2 minutes.  I'm not entirely sure about how to analyse this data. I've checked all the possible technical problems (faulty GA code, JS race conditions, breaks in the chain), and whilst there were some things that need improving, no technical fix budged the bounce rate at all.  The other thing we noticed was that the product pages were getting lots of traffic for very generic and brand based search terms. In these cases the pages come up as sitelinks, could this explain a high bounce rate too?  So in short :  If the page view time is so high, should I be worrying about the bounce rate at all? What's the chances of someone visiting the page and then leaving to compare prices? And how do sitelinks affect bounce rate on eCommerce sites? I've installed Process Lasso and in All processes tab, set all affinities to 1-7, meaning that all the processes can be start on all my CPUs except the first one. Yet, there is a huge load on my first CPU.   I personally have no clue what's happening here and really appreciate any help.  My system is:   Intel core i7 - 4720 HQ  2.6 GHz upto 3.6 Windows 10 (64 bit) NVidia GTX 950 M   This screenshot, shows the software's interface. Those 8 green bars on upper right show my CPU usage. Also the column called Rules, indicates the affinities on the processes.       PS: These are screenshots that show the more familiar Task Manager and Resource Monitor. I've sorted all with respect to their CPU usage. Note that the overall CPU usage is just fine (less than 30% most of the time), but in Resource Monitor, same as the Process Lasso, it's obvious that that most of the load is on CPU0 and the others are almost free.  Also I found out that my total CPU usage, is actually more than all my processes altogether! The orange line in Resource Monitor picture, shows the amount of CPU usage of all my processes. (I did the same in safe mode. Orange line, exactly coincides the total usage in safe mode. So I'm suspecting that something is happening in my normal boot.)