Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

automatically start apache, mysql and cron on startup

Featured Replies

Hi,

 

I've just upgraded from 4.3 to 5.3.

 

Using 4.3, I was able to launch both apache and mysql on startup by putting a link in the startup directory.

 

I was able to figure this out by using the files in the altrnative_control directory.

 

But is it possble to have apache, mysql and cron start up all at once? I realized that i could start cron just by addint a shortcut to start_cron.bat in the startup directory, but now there are error messages saying that apache and mysql are not enabled in config.inc.php... I had a look at the file but I'm not sure what to do with it...

 

 

aquadhere

 

p.s. thank you for the latest release of uniform server. the addition of cron makes things a lot easier, before I spent a lot of time kludging together a backup solution using 7zip and task scheduler... now I can change to backup machines without spending a lot of time on configurations...

“But is it possible to have apache, mysql and cron start up all at once?”

 

Yes take a look at these pages:

 

http://wiki.uniformserver.com/index.php/5...._Cron#Automatic

 

http://wiki.uniformserver.com/index.php/5....ript_Parameters

 

Note: Do not change start cron.bat its purely for manually running Cron when testing.

 

Change the parameters in UniTray1.ini as explained above.

 

Alternatively if you are using the batch files

Change the parameter passed in both Start_Server.bat and Stop_Server.bat

 

The current binary codes are:

1  Apache   
2  Mysql   
4  Index page
8  MySQL Console   
16 Cron

Hence to run MySQL, Apache and Cron gives 1+2+16 = 19

 

P.S. Another place to look for information:

From Unitray click on Server Documentation and check out folder en

 

All the best

Ric :)

  • Author

Thanks! That was very useful.

 

aquadhere

 

“But is it possible to have apache, mysql and cron start up all at once?”

 

Yes take a look at these pages:

 

http://wiki.uniformserver.com/index.php/5...._Cron#Automatic

 

http://wiki.uniformserver.com/index.php/5....ript_Parameters

 

Note: Do not change start cron.bat its purely for manually running Cron when testing.

 

Change the parameters in UniTray1.ini as explained above.

 

Alternatively if you are using the batch files

Change the parameter passed in both Start_Server.bat and Stop_Server.bat

 

The current binary codes are:

1  Apache   
2  Mysql   
4  Index page
8  MySQL Console   
16 Cron

Hence to run MySQL, Apache and Cron gives 1+2+16 = 19

 

P.S. Another place to look for information:

From Unitray click on Server Documentation and check out folder en

 

All the best

Ric :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.