Cronjob and Mavericks sleep mode - cron

I've installed the new Mavericks OS on my mac and the sleep mode seems to stop everything including cronjobs, logmein service, etc.
Do you guys have the same issue? How could we fix this?
Thanks a lot.

I found my answer here : https://superuser.com/questions/14836/crontab-to-wake-osx-from-sleep
My point is that Mountain Lion was still running cron jobs while asleep with default energy saver configuration, but Mavericks doesn't anymore (and without installing anything like anacron, etc.)
If someone find out how Mountain Lion was doing so, I'd be interested. Thanks.

Related

Is there any solution for Ubuntu-18.04 sound problem?

I am new with Ubuntu. I installed Ubuntu on my computer and some time after, sound was gone. I tried some methods which explained in forums but i can't solve problem. Than i setup Ubuntu again. First 6 hour, there was no problem with sound but it gone again.
Is there any solution for this problem?
Solution is just putting the computer to sleep and waking it up again, and the problem will solve. Solution is at link below.
https://askubuntu.com/questions/955065/no-sound-on-ubuntu-windows-dual-boot/1016960#1016960

screen becomes weird when switching from ubuntu to windows on a dual boot system

I have a dual boot system with windows 7 and ubuntu. When I switch from winddows to ubuntu, the ubuntu OS starts up very smoothly. But when i switch to windows from ubuntu, the screen goes purple and i need to restart the system. Sometimes I need to restart it many times for windows to load properly. This also happens when I try to start windows first.
Please let me know the reason why this could be happening and solution if any.
Thanks in advance I
I was able to solve this problem by starting Windows through the boot CD and selecting the repair option. Windows got repaired and now is running fine.

Touchpad on mac not working when ubuntu 12.04 is on .. how to fix touchpad in ubuntu on macbook pro?

So this is my problem :
I have a macbook pro. I have installed linux on a separate partition (Ubuntu 12.04) and everything was working fine (touchpad, keyboard, etc) and it was perfect. One day, I decided to download a program called wine for gaming purposes. After I did that and rebooted, the mouse (or touchpad) wouldn't work anymore (NOTE: The touchpad is working fine when I boot into mac osx but it does not work when I boot into ubuntu). Now I don't know if the direct cause for it not to work is me downloading wine or if its for any other reason, my question is:
How can I solve this problem?
How do I completely remove wine from my system with all of the files that come with it ? (If that even is the problem)
Is there some kind of configuration file for the touchpad found in the ubuntu system ? If so how do i access it and check it and alter it to work again or something. I just need any solution to this problem I really need the touchpad to work again. NOTE: Connecting an external mouse while booted in ubuntu MAKES THE MOUSE WORK but I don't want that I want the touchpad of the macbook pro to work.
Another side note : the program i use to dual boot is rEEfit.(I can access EFI shell from there .. Is that useful at all ?)
Thanks in advance ..
Wine is a software which helps to run windows applications under linux OS. It has nothing to do with your macbook touchpad drivers. Did you install any drivers or enable any PPAs? did you do a system upgrade just before it worked?
The touchpad on Macbook has always been less than perfect under Ubuntu but have a look at this answer here and the guides here. If you still cannot get it working it might be better if you post the question on Ask Ubuntu.

Bad JetBrains Intellij IDEA and Android Studios CPU usage on Ubuntu

As an Android developer I've been moving away from Eclipse to Intellij IDEA for production code in anticipation of Google's Android studios which shares a code base with IDEA.
My experience has been a good one up to this point. I've only been using IDEA at the office, where I have a 4x core Intel i7 machine running Ubuntu 12.04 LTS (Sun JDK/JRE), up to this point and I've never noticed what the performance of IDEA really is.
Now however after setting IDEA up on my personal computer at home the performance is abysmal. Memory usage is normal, but the constant CPU usage bounces between 80%-100% (over the whole application lifecycle). And that is when nothing else is running on the machine and no work is being done, by me or visually by the IDE.
This makes IDEA unusable when working on it, and I can forget about having anything else running along side it.
My home specs and software are:
Intel Core 2 duo 3GHz
8 GB RAM
Ubuntu 12.04 x64 LTS (3.8.0-35-generic) running of SSD SATA
Intellij IDEA 13.0-0ubuntu1 build: IC-133.193
Tried both OpenJDK and Sun
And the strange thing is that this happens as well with Android Studios.
All help in trying to debug this behaviour would be appreciated.
#Edit 1:
Noticed that the CPU load falls down to 20% when bringing up dialogs (Project structure, Settings, etc) and then goes right back up when dismissing them.
#Edit 2:
I tested simply getting the tarball straight from JetBrains, instead of using the one in Canonical's ppa. The performance was significantly better for at least an hour (20-30% CPU usage while idle). Seems that the native file watcher in C-PPA wasn't working properly and was indexing the whole filesystem.
However the performance became worse after the first hour or so, going back to 90-100% CPU.
The issue turned out to be the native-file watcher being out-of-date. IntelliJ was re indexing my whole drive it seems. Was fixed by uninstalling the version gotten from Canonical's ppa and installing directly from JetBrain's own webpage.
Are you using any plugins outside of the included ones which might cause issues.
I don't run Ubuntu anymore but can't recall any issues with high CPU-usage when i did. (I use Fedora with KDE a colleague uses Fedora with GNOME though. )
Does this always happen or only when you have a project open?
I'm thinking if this might have something to do with the background-compile that IDEA does.
Might be worth trying to turn this off.
Found under Project Settings -> Compiler -> Make Project Automatically
worst case it is a Unity-integration issue or something. Haven't used unity so can't say.
Usualy I manage to fix it by deleting IDE's index files rm -rf ~/.RubyMine60/system,
don't forget to change .RubyMine60 to IDEA's config folder
If you're willing to do some sleuthing, you could run the Oracle JVM and use the VisualVM profiler to see where the IDE is spending all its time, presuming it's a Java-based process that's actually eating your CPU cycles.

Can No Machine's Nxserver run on an ubuntu without desktop, just X11?

I am running an instance of Ubuntu on AWS uxing X11 tunneled via ssh. It runs, but is too slow. NXMachine over x11 makes it blazingly fast, in comparison.
Next step is to free up some RAM by uninstalling GNOME, the instance being tiny as it is, while still having a display. Works for x11 (but too slow to be useful), not sure how to do it for NX. Has anyone done this?
Edit: BTW, is there a way to speed up X11 other than NXMachine? If I can get fast x11, mission accomplished!
http://www.idevelopment.info/data/AWS/AWS_Tips/AWS_Management/AWS_12.shtml#Install NX Free Edition for Linux to Amazon EC2 Instance Try this you have to install nxclient,nxnode and nxserver packages and then configure it for X11. The above link gives you all.
Thanks & Regards,
Alok Thaker

Resources