During the evening I use my openVPN connection but during the day (working from home) I need to close the VPN to connect to the corporate VPN.
Is there a programm or a setting to close the VPN on a specific time and start it again after a specific time?
Like: close VPN on 8.30 and start it again on 17.30 o'clock?
Looks correct to me. I think your system logs should also display an entry every time a CRON entry is run. I'd double check to make sure it stops & starts at the time you've specified and to check if your network is running as expected. Sometimes you might have to restart the CRON service after modifying the crontab to have the new entries take effect (See Startup tab).
Good question. I use a ruckus 300 on my nano pi r2s and didn't check this option if possible.
The vpn is on the nano but i have no idea to divide this vpn
Your current solution would not have a killswitch and you never know if you have data leaks when the VPN should be on but doesn't. Using the nano, you might need a managed switch with vlan or using WiFi dumb AP.